RelationalDataReader 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
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
RelationalDataReaderRelationalDataReader
Implements
System.IDisposableSystem.IDisposable

Constructors

RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader) RelationalDataReader(IRelationalConnection, DbCommand, DbDataReader)

Initializes a new instance of the RelationalDataReader class.

public RelationalDataReader(IRelationalConnection connection, DbCommand command, DbDataReader reader)
Public Sub New(connection As IRelationalConnection, command As DbCommand, reader As DbDataReader)
Parameters
connection
IRelationalConnection IRelationalConnection

The connection.

command
System.Data.Common.DbCommand System.Data.Common.DbCommand

The command that was executed.

reader
System.Data.Common.DbDataReader System.Data.Common.DbDataReader

The underlying reader for the result set.

Properties

DbDataReader DbDataReader

Gets the underlying reader for the result set.

public virtual DbDataReader DbDataReader { get; }
Public Overridable ReadOnly Property DbDataReader As DbDataReader
Value
System.Data.Common.DbDataReader System.Data.Common.DbDataReader

Methods

Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public virtual void Dispose()
Public Overridable Sub Dispose

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object