DatabaseLogFormatter.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 utworzeniu jednego z jego odpowiedników asynchronicznych. Domyślna implementacja zatrzymuje stoper zwracany z GetStopwatch(DbCommandInterceptionContext) polecenia i wywołuje metodę Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>).
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.