Condividi tramite


RelationalDataReader.Initialize Metodo

Definizione

Inizializza una nuova istanza della classe 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)

Parametri

relationalConnection
IRelationalConnection

Connessione relazionale.

command
DbCommand

Comando eseguito.

reader
DbDataReader

Lettore sottostante per il set di risultati.

commandId
Guid

ID di correlazione che identifica l'istanza DbCommand utilizzata.

logger
IRelationalCommandDiagnosticsLogger

Origine di diagnostica.

Si applica a