Sdílet prostřednictvím


DbCommandInterceptor.ScalarExecuting Metoda

Definice

Tato metoda je volána před voláním ExecuteScalar() nebo jedním z jejích asynchronních protějšků.

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

Parametry

command
DbCommand

Spouští se příkaz.

interceptionContext
DbCommandInterceptionContext<Object>

Kontextové informace spojené s voláním

Implementuje

Platí pro