次の方法で共有


DbCommandInterceptor.NonQueryExecuted メソッド

定義

このメソッドは、 またはその非同期の呼び出しが行われた後に呼び出 ExecuteNonQuery() されます。 Entity Framework で使用される結果は、 を設定 Resultすることで変更できます。

public virtual void NonQueryExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> interceptionContext);
abstract member NonQueryExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
override this.NonQueryExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
Public Overridable Sub NonQueryExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Integer))

パラメーター

command
DbCommand

実行中のコマンド。

interceptionContext
DbCommandInterceptionContext<Int32>

呼び出しに関連付けられているコンテキスト情報。

実装

適用対象