Compartir a través de


RelationalDataReader Constructores

Definición

Sobrecargas

RelationalDataReader()
RelationalDataReader(DbDataReader)
Obsoletos.

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader)

Inicializa una nueva instancia de la clase RelationalDataReader.

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

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

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

Inicializa una nueva instancia de la clase RelationalDataReader.

RelationalDataReader()

Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs
public RelationalDataReader ();
Public Sub New ()

Se aplica a

RelationalDataReader(DbDataReader)

Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs

Precaución

Use other constructor for testing.

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

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)

Parámetros

reader
DbDataReader
Atributos

Se aplica a

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader)

Inicializa una nueva instancia de la clase 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)

Parámetros

connection
IRelationalConnection

La conexión.

command
DbCommand

Comando que se ejecutó.

reader
DbDataReader

Lector subyacente del conjunto de resultados.

Se aplica a

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

Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs

Precaución

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

Esta API admite la infraestructura de Entity Framework Core y no está pensada para usarse directamente desde el código. Esta API puede cambiar o quitarse en versiones futuras.

[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))

Parámetros

command
DbCommand
reader
DbDataReader
Atributos

Se aplica a

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

Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs
Source:
RelationalDataReader.cs

Inicializa una nueva instancia de la clase 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))

Parámetros

connection
IRelationalConnection

La conexión.

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

Origen de diagnóstico.

Se aplica a