Compartir a través de


DatabaseLogFormatter.NonQueryExecuted Método

Definición

Se llama a este método después de realizar una llamada a ExecuteNonQuery() 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 NonQueryExecuted (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> interceptionContext);
abstract member NonQueryExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
override this.NonQueryExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
Public Overridable Sub NonQueryExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Integer))

Parámetros

command
DbCommand

Comando que se ejecuta.

interceptionContext
DbCommandInterceptionContext<Int32>

Información contextual asociada a la llamada.

Implementaciones

Se aplica a