Udostępnij przez


DbCommandInterceptor.NonQueryExecuted Metoda

Definicja

Ta metoda jest wywoływana po wywołaniu metody ExecuteNonQuery() lub utworzeniu jednego z jego odpowiedników asynchronicznych. Wynik używany przez program Entity Framework można zmienić, ustawiając wartość Result.

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

Parametry

command
DbCommand

Wykonywane polecenie.

interceptionContext
DbCommandInterceptionContext<Int32>

Informacje kontekstowe skojarzone z wywołaniem.

Implementuje

Dotyczy