Compartir a través de


RelationalDataReader.Initialize Método

Definición

Inicializa una nueva instancia de la clase RelationalDataReader.

public virtual void Initialize (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection relationalConnection, System.Data.Common.DbCommand command, System.Data.Common.DbDataReader reader, Guid commandId, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger? logger);
abstract member Initialize : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * System.Data.Common.DbDataReader * Guid * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger -> unit
override this.Initialize : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * System.Data.Common.DbDataReader * Guid * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger -> unit
Public Overridable Sub Initialize (relationalConnection As IRelationalConnection, command As DbCommand, reader As DbDataReader, commandId As Guid, logger As IRelationalCommandDiagnosticsLogger)

Parámetros

relationalConnection
IRelationalConnection

Conexión relacional.

command
DbCommand

Comando que se ejecutó.

reader
DbDataReader

Lector subyacente del conjunto de resultados.

commandId
Guid

Identificador de correlación que identifica la DbCommand instancia que se usa.

logger
IRelationalCommandDiagnosticsLogger

Origen de diagnóstico.

Se aplica a