Compartilhar via


DbCommandInterceptor.NonQueryExecuting Método

Definição

Esse método é chamado antes que uma chamada para ExecuteNonQuery() ou uma de suas contrapartes assíncronas seja feita.

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

Parâmetros

command
DbCommand

O comando que está sendo executado.

interceptionContext
DbCommandInterceptionContext<Int32>

Informações contextuais associadas à chamada.

Implementações

Aplica-se a