IDbCommandInterceptor.ReaderExecuted メソッド

定義

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

public 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
Public Sub ReaderExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of DbDataReader))

パラメーター

command
DbCommand

実行中のコマンド。

interceptionContext
DbCommandInterceptionContext<DbDataReader>

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

注釈

非同期操作の場合、非同期タスクが完了または失敗するまで、このメソッドは呼び出されません。

適用対象