RelationalDataReader Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RelationalDataReader() | |
RelationalDataReader(DbDataReader) |
Obsolete.
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader) |
Initializes a new instance of the RelationalDataReader class. |
RelationalDataReader(DbCommand, DbDataReader, IDiagnosticsLogger<DbLoggerCategory.Database.Command>) |
Obsolete.
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Command>) |
Initializes a new instance of the RelationalDataReader class. |
RelationalDataReader()
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
public RelationalDataReader ();
Public Sub New ()
Applies to
RelationalDataReader(DbDataReader)
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
Caution
Use other constructor for testing.
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
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)
Parameters
- reader
- DbDataReader
- Attributes
Applies to
RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader)
Initializes a new instance of the RelationalDataReader class.
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)
Parameters
- connection
- IRelationalConnection
The connection.
- command
- DbCommand
The command that was executed.
- reader
- DbDataReader
The underlying reader for the result set.
Applies to
RelationalDataReader(DbCommand, DbDataReader, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
Caution
Use other constructor for testing, passing in a fake connection.
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
[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))
Parameters
- command
- DbCommand
- reader
- DbDataReader
- Attributes
Applies to
RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
- Source:
- RelationalDataReader.cs
Initializes a new instance of the RelationalDataReader class.
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))
Parameters
- connection
- IRelationalConnection
The connection.
- command
- DbCommand
The command that was executed.
- reader
- DbDataReader
The underlying reader for the result set.
The diagnostic source.
Applies to
Entity Framework