DbCommandInterceptor.ReaderExecuted Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Ta metoda jest wywoływana po wywołaniu metody ExecuteReader(CommandBehavior) lub jednej z jego odpowiedników asynchronicznych. Wynik używany przez program Entity Framework można zmienić, ustawiając wartość 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))
Parametry
- command
- DbCommand
Wykonywane polecenie.
- interceptionContext
- DbCommandInterceptionContext<DbDataReader>
Informacje kontekstowe skojarzone z wywołaniem.