DbLinkCreateOnDifferentSystemTransaction
Namespace: TagBites.DB.Configuration
Assembly: TagBites.DB.dll
Product: TagBites.DB v. 1.0.37
public enum DbLinkCreateOnDifferentSystemTransactionFields
Section titled “Fields”CreateLinkWithNewContextOrAssigedToCurrentTransaction
Section titled “CreateLinkWithNewContextOrAssigedToCurrentTransaction”Creates DbLink with DbContext assigned to current transaction if exists. Otherwise creates DbLink with new/free DbContext.
CreateLinkWithNewContextOrAssigedToCurrentTransaction = 0ThrowException
Section titled “ThrowException”Throw exception.
ThrowException = 2TryToMoveTransactionOrThrowException
Section titled “TryToMoveTransactionOrThrowException”Copy transaction to current scope if Transaction.Current is null. Otherwise throw exception.
TryToMoveTransactionOrThrowException = 1