Compartir a través de


DatabaseLogFormatter.ScalarExecuted Método

Definición

Se llama a este método después de realizar una llamada a ExecuteScalar() o a uno de sus homólogos asincrónicos. La implementación predeterminada detiene el cronómetro devuelto de GetStopwatch(DbCommandInterceptionContext) y llama a 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))

Parámetros

command
DbCommand

Comando que se ejecuta.

interceptionContext
DbCommandInterceptionContext<Object>

Información contextual asociada a la llamada.

Implementaciones

Se aplica a