Sprache

DatabaseLogFormatter.ReaderExecuting Methode

Definition

Diese Methode wird aufgerufen, bevor ein Aufruf oder ExecuteReader(CommandBehavior) eines seiner asynchronen Entsprechungen erfolgt. Die standardmäßigen Implementierungsaufrufe Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) und starten die von der Stopwatch zurückgegebene GetStopwatch(DbCommandInterceptionContext)Stoppuhr.

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

Parameter

command
DbCommand

Der Befehl, der ausgeführt wird.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Kontextbezogene Informationen, die dem Anruf zugeordnet sind.

Implementiert

Gilt für: