DbContextConfiguration.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)
This flag determines whether a new transaction will be started when methods such as ExecuteSqlCommand are executed outside of a transaction. Note that this does not change the behavior of SaveChanges.