Language

DbCommandInterceptor.ReaderExecuted メソッド

定義

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

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

パラメーター

command
DbCommand

実行中のコマンド。

interceptionContext
DbCommandInterceptionContext<DbDataReader>

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

実装

適用対象