ObjectContextOptions.EnsureTransactionsForFunctionsAndCommands プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SQL 関数とコマンドを常にトランザクションで実行するかどうかを決定する値を取得または設定します。
public bool EnsureTransactionsForFunctionsAndCommands { get; set; }
member this.EnsureTransactionsForFunctionsAndCommands : bool with get, set
Public Property EnsureTransactionsForFunctionsAndCommands As Boolean
プロパティ値
既定のトランザクション動作。
注釈
このフラグは、 や などのExecuteFunction(String, ObjectParameter[])ExecuteStoreCommand(String, Object[])メソッドがトランザクションの外部で実行されるときに、新しいトランザクションを開始するかどうかを決定します。 これは の動作 SaveChanges()を変更しないことに注意してください。