Udostępnij przez


DbCommandInterceptor.NonQueryExecuting Metoda

Definicja

Ta metoda jest wywoływana przed wywołaniem ExecuteNonQuery() metody lub jednym z jego odpowiedników asynchronicznych.

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))

Parametry

command
DbCommand

Wykonywane polecenie.

interceptionContext
DbCommandInterceptionContext<Int32>

Informacje kontekstowe skojarzone z wywołaniem.

Implementuje

Dotyczy