RelationalDataReader RelationalDataReader Class

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.

Syntax

Declaration

public class RelationalDataReader : IDisposablePublic Class RelationalDataReader
    Implements IDisposable

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalDataReader
    RelationalDataReader

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Initializes a new instance of the RelationalDataReader class.

Properties summary

Gets the underlying reader for the result set.

Methods summary

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

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

      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

    Property 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

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll