Share via


AdoDotNetDataReader Members

Include Protected Members
Include Inherited Members

Provides an implementation of the DataReader class using an implementation of the ADO.NET IDataReader interface.

The AdoDotNetDataReader type exposes the following members.

Constructors

 

Name

Description

Public method

AdoDotNetDataReader

Overloaded. Class constructor. Instantiates an instance of the AdoDotNetDataReader class.

Top

Methods

 

Name

Description

Public method

Close

Closes the current IDataReader object instance. (Overrides DataReader.Close().)

Public method

Dispose

Overloaded. Releases managed resources held for the DataReader instance.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Finalizes the current DataReader instance. (Inherited from DataReader.)

Public method

GetBytes

Retrieves a specified number of bytes of binary data. (Overrides DataReader.GetBytes(Int32, array<Byte[], Int32, Int32).)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetItem

Overloaded. Retrieves a specified data item.

Public method

GetItemMaxLength

Retrieves the maximum length, in characters, of data items at the specified index. (Overrides DataReader.GetItemMaxLength(Int32).)

Public method

GetItemName

Retrieves the name assigned to the data item at the specified index, if any. (Overrides DataReader.GetItemName(Int32).)

Public method

GetItemType

Returns the data type of a data item, or items, at the specified index in a specified format. (Overrides DataReader.GetItemType(Int32, DataItemTypeFormat).)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IsNullItem

Indicates whether the data item at the specified index is unspecified, that is, nulla null reference (Nothing in Visual Basic). (Overrides DataReader.IsNullItem(Int32).)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

NextResult

Advances the data reader to the next result in cases where the reader contains multiple results. (Overrides DataReader.NextResult().)

Public method

Read

Advances the reader to the next block of data in cases where the reader contains more than one block. (Overrides DataReader.Read().)

Public method

Terminate

Terminates the data reader immediately, without necessarily returning all of the data nor setting output parameters. (Overrides DataReader.Terminate().)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

InnerDataReader

Retrieves the underlying IDataReader object that is driving the current data reader.

Public property

IsClosed

Retrieves a Boolean value that indicates whether the specified data reader instance has been closed. (Overrides DataReader.IsClosed.)

Public property

ItemCount

Retrieves the number of items in the current block of data. (Overrides DataReader.ItemCount.)

Public property

Status

Retrieves a numerical status code returned by the method currently providing data to the data reader. (Overrides DataReader.Status.)

Top

See Also

Reference

AdoDotNetDataReader Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace