TransactionalBehavior Enum

Definition

Controls the transaction creation behavior while executing a database command or query.

public enum TransactionalBehavior
type TransactionalBehavior = 
Public Enum TransactionalBehavior
Inheritance
TransactionalBehavior

Fields

DoNotEnsureTransaction 1

If an existing transaction is present then use it, otherwise execute the command or query without a transaction.

EnsureTransaction 0

If no transaction is present then a new transaction will be used for the operation.

Applies to