Share via


DatabaseLogFormatter.ReaderExecuted Method

Definition

This method is called after a call to ExecuteReader(CommandBehavior) or one of its async counterparts is made. The default implementation stopsthe stopwatch returned from GetStopwatch(DbCommandInterceptionContext) and calls 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))

Parameters

command
DbCommand

The command being executed.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Contextual information associated with the call.

Implements

Applies to