RelationalDataReader Costruttori

Definizione

Overload

RelationalDataReader()
RelationalDataReader(DbDataReader)
Obsoleti.

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader)

Inizializza una nuova istanza della classe RelationalDataReader.

RelationalDataReader(DbCommand, DbDataReader, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
Obsoleti.

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Inizializza una nuova istanza della classe RelationalDataReader.

RelationalDataReader()

public RelationalDataReader ();
Public Sub New ()

Si applica a

RelationalDataReader(DbDataReader)

Attenzione

Use other constructor for testing.

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

protected RelationalDataReader (System.Data.Common.DbDataReader reader);
[System.Obsolete("Use other constructor for testing.")]
protected RelationalDataReader (System.Data.Common.DbDataReader reader);
new Microsoft.EntityFrameworkCore.Storage.RelationalDataReader : System.Data.Common.DbDataReader -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
[<System.Obsolete("Use other constructor for testing.")>]
new Microsoft.EntityFrameworkCore.Storage.RelationalDataReader : System.Data.Common.DbDataReader -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Protected Sub New (reader As DbDataReader)

Parametri

reader
DbDataReader
Attributi

Si applica a

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader)

Inizializza una nuova istanza della classe RelationalDataReader.

public RelationalDataReader (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, System.Data.Common.DbDataReader reader);
new Microsoft.EntityFrameworkCore.Storage.RelationalDataReader : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * System.Data.Common.DbDataReader -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Public Sub New (connection As IRelationalConnection, command As DbCommand, reader As DbDataReader)

Parametri

connection
IRelationalConnection

Connessione.

command
DbCommand

Comando eseguito.

reader
DbDataReader

Lettore sottostante per il set di risultati.

Si applica a

RelationalDataReader(DbCommand, DbDataReader, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Attenzione

Use other constructor for testing, passing in a fake connection.

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

[System.Obsolete("Use other constructor for testing, passing in a fake connection.")]
protected RelationalDataReader (System.Data.Common.DbCommand command, System.Data.Common.DbDataReader reader, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger);
[<System.Obsolete("Use other constructor for testing, passing in a fake connection.")>]
new Microsoft.EntityFrameworkCore.Storage.RelationalDataReader : System.Data.Common.DbCommand * System.Data.Common.DbDataReader * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Protected Sub New (command As DbCommand, reader As DbDataReader, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))

Parametri

command
DbCommand
reader
DbDataReader
Attributi

Si applica a

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Inizializza una nuova istanza della classe RelationalDataReader.

public RelationalDataReader (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, System.Data.Common.DbDataReader reader, Guid commandId, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger);
new Microsoft.EntityFrameworkCore.Storage.RelationalDataReader : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * System.Data.Common.DbDataReader * Guid * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Public Sub New (connection As IRelationalConnection, command As DbCommand, reader As DbDataReader, commandId As Guid, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))

Parametri

connection
IRelationalConnection

Connessione.

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
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

Origine di diagnostica.

Si applica a