Partager via


DbCommandInterceptor.ReaderExecuted Méthode

Définition

Cette méthode est appelée après un appel à ou à ExecuteReader(CommandBehavior) l’un de ses équivalents asynchrones. Le résultat utilisé par Entity Framework peut être modifié en définissant Result.

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

Paramètres

command
DbCommand

Commande en cours d’exécution.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Informations contextuelles associées à l’appel.

Implémente

S’applique à