Skip to content
Auto
Products

DbLinkCreateOnDifferentSystemTransaction

Namespace: TagBites.DB.Configuration
Assembly: TagBites.DB.dll
Product: TagBites.DB v. 1.0.37

public enum DbLinkCreateOnDifferentSystemTransaction

CreateLinkWithNewContextOrAssigedToCurrentTransaction

Section titled “CreateLinkWithNewContextOrAssigedToCurrentTransaction”

Creates DbLink with DbContext assigned to current transaction if exists. Otherwise creates DbLink with new/free DbContext.

CreateLinkWithNewContextOrAssigedToCurrentTransaction = 0

Throw exception.

ThrowException = 2

Copy transaction to current scope if Transaction.Current is null. Otherwise throw exception.

TryToMoveTransactionOrThrowException = 1