Udostępnij przez


IDbCommandInterceptor.NonQueryExecuting Metoda

Definicja

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

public 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
Public Sub NonQueryExecuting (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Integer))

Parametry

command
DbCommand

Wykonywane polecenie.

interceptionContext
DbCommandInterceptionContext<Int32>

Informacje kontekstowe skojarzone z wywołaniem.

Dotyczy