AdoDotNetSchemaReader Class
Provides a means for obtaining the schema of the IDataReader object encapsulating the result set.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Class AdoDotNetSchemaReader _
Inherits DataReader
'Usage
Dim instance As AdoDotNetSchemaReader
public class AdoDotNetSchemaReader : DataReader
public ref class AdoDotNetSchemaReader : public DataReader
public class AdoDotNetSchemaReader extends DataReader
Remarks
Implements the IDataReader interface. This class takes as input an IDataReader object and expose the schema of the IDataReader object as a DDEX DataReader.
The format of the data reader exposed is that required by the DeriveSchema method, which has a fixed set of columns. It does not expose exactly the same information that is provided when calling the GetSchemaTable method on the underlying IDataReader instance.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.DataReader
Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetSchemaReader
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.