Sdílet prostřednictvím


DatabaseLogFormatter.ScalarExecuted Metoda

Definice

Tato metoda je volána po volání ExecuteScalar() nebo jeden z jejích asynchronních protějšků je proveden. Výchozí implementace zastaví stopky vrácené z GetStopwatch(DbCommandInterceptionContext) a zavolá 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))

Parametry

command
DbCommand

Spouští se příkaz.

interceptionContext
DbCommandInterceptionContext<Object>

Kontextové informace spojené s voláním.

Implementuje

Platí pro