DatabaseLogFormatter.ScalarExecuting メソッド

定義

このメソッドは、 またはその非同期の呼び出しが行われる前に呼び出 ExecuteScalar() されます。 既定の実装では、 からGetStopwatch(DbCommandInterceptionContext)返されたストップウォッチを呼び出Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)して開始します。

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

パラメーター

command
DbCommand

実行中のコマンド。

interceptionContext
DbCommandInterceptionContext<Object>

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

実装

適用対象