Share via


AdoDotNetTableReader Class

Definition

Represents an implementation of the IVsDataReader and IVsDataReaderDescriptor interfaces using the ADO .NET DataTable object.

public ref class AdoDotNetTableReader : Microsoft::VisualStudio::Data::Framework::DataReader
public class AdoDotNetTableReader : Microsoft.VisualStudio.Data.Framework.DataReader
type AdoDotNetTableReader = class
    inherit DataReader
Public Class AdoDotNetTableReader
Inherits DataReader
Inheritance
AdoDotNetTableReader

Constructors

AdoDotNetTableReader(DataTable, Int32)

Initializes a parameterized instance of the AdoDotNetDataTableReader class along with a DataTable instance and a status value.

AdoDotNetTableReader(DataTable)

Initializes a parameterized instance of the AdoDotNetDataTableReader class along with a DataTable instance.

Properties

Descriptor

Gets information that describes the data from a data source.

(Inherited from DataReader)
HasDescriptor

Gets a value indicating whether the data parameter exposes its IVsDataReaderDescriptor implementation through the Descriptor property.

IsClosed

Gets a value indicating whether the DataTable is closed.

ItemCount

Gets an integer value specifying the number of data items contained in the current DataTable instance.

Status

Gets an integer value representing the status of the data table; however, invariably returns zero.

UnderlyingTable

Gets the underlying DataTable object instance used in this class.

Methods

Close()

Closes the current DataTable instance.

Dispose()

Releases managed resources held for the current DataReader instance.

(Inherited from DataReader)
Dispose(Boolean)

Cleans up resources associated with the current DataReader instance, both when the public Dispose() method is called and when the object is finalized with a call to the Finalize() method.

(Inherited from DataReader)
GetBytes(Int32, Byte[], Int32, Int32)

Reads a stream of bytes into the buffer as an array, starting at a specified offset.

GetBytes(String, Byte[], Int32, Int32)

Retrieves a specified number of bytes of raw binary data.

(Inherited from DataReader)
GetItem(Int32)

Retrieves a data item at a specified index.

GetItem(String)

Retrieves a data item with a specified name.

GetItemIndex(String)

Retrieves the index of the data item for the specified data item name.

GetItemMaxLength(Int32)

Retrieves an integer value specifying the maximum length of the data item at the specified index.

GetItemName(Int32)

Retrieves the string literal name of the data item at the specified index.

GetItemType(Int32, DataItemTypeFormat)

Retrieves the data type for a data item at a specified index and with a specified item type format.

GetItemType(Int32)

Retrieves the data type of a data item, or items, at the specified index for the default format Default.

(Inherited from DataReader)
IsNullItem(Int32)

Retrieves a Boolean value indicating whether the data item at the specified index is null.

IsNullItem(String)

Indicates whether the value of the given data item is unspecified, that is, null.

(Inherited from DataReader)
NextResult()

Tests whether there is another result set and, if true, advances the AdoDotNetDataTableReader.

Read()

Tests whether there is another data record and, if true, advances the AdoDotNetDataTableReader to the next record.

Terminate()

Terminates the data reader immediately, without necessarily returning all of the data or setting output parameters.

(Inherited from DataReader)

Applies to