Condividi tramite


DbCommandInterceptor.ScalarExecuted Metodo

Definizione

Questo metodo viene chiamato dopo una chiamata a ExecuteScalar() o una delle relative controparti asincrone. Il risultato usato da Entity Framework può essere modificato impostando 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))

Parametri

command
DbCommand

Comando in esecuzione.

interceptionContext
DbCommandInterceptionContext<Object>

Informazioni contestuali associate alla chiamata.

Implementazioni

Si applica a