AdoDotNetDataReader Members

Provides an implementation of the DataReader class using an implementation of the ADO.NETIDataReader 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.
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, [], 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, a 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