DbCommandInterceptor.NonQueryExecuting Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Tato metoda je volána před voláním ExecuteNonQuery() nebo jedním z jejích asynchronních protějšků.
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
Spouští se příkaz.
- interceptionContext
- DbCommandInterceptionContext<Int32>
Kontextové informace spojené s voláním