TransactionalBehavior Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls the transaction creation behavior while executing a database command or query.
public enum TransactionalBehavior
type TransactionalBehavior =
Public Enum TransactionalBehavior
- Inheritance
-
TransactionalBehavior
Fields
Name | Value | Description |
---|---|---|
EnsureTransaction | 0 | If no transaction is present then a new transaction will be used for the operation. |
DoNotEnsureTransaction | 1 | If an existing transaction is present then use it, otherwise execute the command or query without a transaction. |
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework