Partilhar via


DatabaseLogFormatter.ReaderExecuted Método

Definição

Esse método é chamado depois que uma chamada para ExecuteReader(CommandBehavior) ou uma de suas contrapartes assíncronas é feita. A implementação padrão interrompe o cronômetro retornado de GetStopwatch(DbCommandInterceptionContext) e chama 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))

Parâmetros

command
DbCommand

O comando que está sendo executado.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Informações contextuais associadas à chamada.

Implementações

Aplica-se a