語言

IDbCommandInterceptor.ReaderExecuting 方法

定義

此方法會在呼叫 或 ExecuteReader(CommandBehavior) 其非同步對應節點之前被呼叫。

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

參數

command
DbCommand

命令正在執行。

interceptionContext
DbCommandInterceptionContext<DbDataReader>

與通話相關的情境資訊。

適用於