DbCommandInterceptionContext.WithCommandBehavior(CommandBehavior) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した と共に、このインターセプト コンテキスト内のすべてのコンテキスト情報を含む新しい DbCommandInterceptionContext を作成します CommandBehavior。
public System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext WithCommandBehavior(System.Data.CommandBehavior commandBehavior);
member this.WithCommandBehavior : System.Data.CommandBehavior -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext
パラメーター
- commandBehavior
- CommandBehavior
関連付けるコマンドの動作。
戻り値
指定されたコマンド動作に関連付けられた新しいインターセプト コンテキスト。