Language

DatabaseLogFormatter.ScalarExecuted メソッド

定義

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

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

パラメーター

command
DbCommand

実行中のコマンド。

interceptionContext
DbCommandInterceptionContext<Object>

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

実装

適用対象