DbCommandInterceptor.ScalarExecuted 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 po volání ExecuteScalar() nebo jeden z jejích asynchronních protějšků je proveden. Výsledek používaný službou Entity Framework lze změnit nastavením Result.
public virtual void ScalarExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<object> interceptionContext);
abstract member ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
override this.ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
Public Overridable Sub ScalarExecuted (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.