Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TransactionalBehavior Enumeration

Entity Framework 6.0
 

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

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

public enum class TransactionalBehavior

Member nameDescription
DoNotEnsureTransaction

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

EnsureTransaction

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

Return to top
Show: