Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Provides an implementation of the DataReader class based on the IVsDataReader and IVsDataReaderDescriptor interfaces. This implementation uses the ADO.NET DbDataReader object.
The AdoDotNetReader type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of the AdoDotNetReader class.
Top
Methods
Name
Description
Closes the current DbDataReader object instance. (Overrides DataReader.Close().)
Overloaded. Releases managed resources held for the DataReader instance.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalizes the current DataReader instance. (Inherited from DataReader.)
Overloaded. Retrieves a specified number of bytes of binary data.
Serves as a hash function for a particular type. (Inherited from Object.)
Overloaded. Retrieves an object instance representing the retrievable item.
Retrieves the index of the item for the given item name, such as the index of a column for a given column name. (Overrides DataReader.GetItemIndex(String).)
Retrieves the maximum length, in characters, of data items at the specified index. (Overrides DataReader.GetItemMaxLength(Int32).)
Retrieves the name assigned to the data item at the specified index, if any. (Overrides DataReader.GetItemName(Int32).)
Overloaded. Retrieves the data type of a data item, or items, at the specified index.
Gets the type of the current instance. (Inherited from Object.)
Overloaded.
Creates a shallow copy of the current Object. (Inherited from Object.)
Advances the data reader to the next result if the reader contains multiple results. (Overrides DataReader.NextResult().)
Advances the reader to the next block of data if the reader contains more than one block. (Overrides DataReader.Read().)
Terminates the data reader immediately, without necessarily returning all of the data or setting output parameters. (Overrides DataReader.Terminate().)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets information that describes the data from a data source. (Inherited from DataReader.)
Gets a value indicating whether the data parameter exposes its IVsDataReaderDescriptor implementation through the Descriptor property. (Overrides DataReader.HasDescriptor.)
Gets a value indicating whether the specified data reader instance is closed. (Overrides DataReader.IsClosed.)
Gets the number of items in the current block of data. (Overrides DataReader.ItemCount.)
Gets a numerical status code returned by the method currently providing data to the data reader. (Overrides DataReader.Status.)
Gets the underlying DbDataReader object instance that is used by this class.
Top