ObjectContextOptions.EnsureTransactionsForFunctionsAndCommands Property
Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction.
Assembly: EntityFramework (in EntityFramework.dll)
public bool EnsureTransactionsForFunctionsAndCommands { [CompilerGeneratedAttribute] get; [CompilerGeneratedAttribute] set; }
This flag determines whether a new transaction will be started when methods such as ExecuteFunction and ExecuteStoreCommand are executed outside of a transaction. Note that this does not change the behavior of SaveChanges.