RelationalDataReader Class
Definition
Reads result sets from a relational database.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class RelationalDataReader : IDisposable
public class RelationalDataReader : IAsyncDisposable, IDisposable
type RelationalDataReader = class
interface IDisposable
type RelationalDataReader = class
interface IDisposable
interface IAsyncDisposable
Public Class RelationalDataReader
Implements IDisposable
Public Class RelationalDataReader
Implements IAsyncDisposable, IDisposable
- Inheritance
-
RelationalDataReader
- Implements
Constructors
RelationalDataReader(DbCommand, DbDataReader, IDiagnosticsLogger<DbLoggerCategory.Database>) |
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(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(IRelationalConnection, DbCommand, DbDataReader, Guid, IDiagnosticsLogger<DbLoggerCategory.Database>) |
Initializes a new instance of the RelationalDataReader class. |
Properties
DbCommand |
Gets the underlying command for the result set. |
DbDataReader |
Gets the underlying reader for the result set. |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
DisposeAsync() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Read() |
Calls Read() on the underlying DbDataReader. |
ReadAsync(CancellationToken) |
Calls ReadAsync(CancellationToken) on the underlying DbDataReader. |