Share via


AdoDotNetSchemaReader Members

Include Protected Members
Include Inherited Members

Provides a means for obtaining the schema of the DbDataReader object that encapsulates the result set.

The AdoDotNetSchemaReader type exposes the following members.

Constructors

 

Name

Description

Public method

AdoDotNetSchemaReader

Overloaded. Initializes a new instance of the AdoDotNetSchemaReader class.

Top

Methods

 

Name

Description

Public method

Close

Closes the current AdoDotNetSchemaReader 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

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

Public method

GetHashCode

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

Public method

GetItem

Overloaded. Retrieves a data item at a specified index.

Public method

GetItemIndex

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).)

Public method

GetItemMaxLength

Retrieves an integer value specifying the maximum length of the data item at the specified index. (Overrides DataReader.GetItemMaxLength(Int32).)

Public method

GetItemName

Retrieves the string literal name of the data item at the specified index. (Overrides DataReader.GetItemName(Int32).)

Public method

GetItemType

Overloaded. Retrieves the data type for a data item at a specified index.

Public method

GetType

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

Public method

IsNullItem

Overloaded. Retrieves a Boolean value indicating whether the data item at the specified index, or the data item value for the specified data item name, is nulla null reference (Nothing in Visual Basic).

Protected method

MemberwiseClone

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

Public method

NextResult

Tests whether there is another result set and, if true, advances the AdoDotNetSchemaReader. (Overrides DataReader.NextResult().)

Public method

Read

Tests whether there is another data record and, if true, advances the AdoDotNetSchemaReader to the next record. (Overrides DataReader.Read().)

Public method

Terminate

Terminates the DataReader object immediately, without necessarily returning all of the data or 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

Descriptor

Gets information that describes the data from a data source. (Inherited from DataReader.)

Protected property

HasDescriptor

Gets a value indicating whether the data parameter exposes its IVsDataReaderDescriptor implementation through the Descriptor property. (Overrides DataReader.HasDescriptor.)

Public property

IsClosed

Gets a value indicating whether the AdoDotNetSchemaReader is closed. (Overrides DataReader.IsClosed.)

Public property

ItemCount

Gets an integer value specifying the number of data items contained in the current AdoDotNetSchemaReader instance. (Overrides DataReader.ItemCount.)

Protected property

SchemaTable

Gets the DataTable object that represents the schema of the DbDataReader passed into the constructor of the AdoDotNetSchemaReader.

Public property

Status

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

Top

See Also

Reference

AdoDotNetSchemaReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace