Compartilhar via


AdoDotNetSchemaReader Constructors

Definition

Overloads

AdoDotNetSchemaReader(IDataReader)

Class constructor. Initializes a new instance of the AdoDotNetSchemaReader class with an IDataReader.

AdoDotNetSchemaReader(IDataReader, IDbCommand)

Class constructor. Initializes a new instance of the AdoDotNetSchemaReader class with IDataReader and IDbCommand objects.

AdoDotNetSchemaReader(IDataReader)

Class constructor. Initializes a new instance of the AdoDotNetSchemaReader class with an IDataReader.

public:
 AdoDotNetSchemaReader(System::Data::IDataReader ^ dataReader);
public AdoDotNetSchemaReader (System.Data.IDataReader dataReader);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetSchemaReader : System.Data.IDataReader -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetSchemaReader
Public Sub New (dataReader As IDataReader)

Parameters

dataReader
IDataReader

IDataReader object containing the data result set, plus schema.

Applies to

AdoDotNetSchemaReader(IDataReader, IDbCommand)

Class constructor. Initializes a new instance of the AdoDotNetSchemaReader class with IDataReader and IDbCommand objects.

public:
 AdoDotNetSchemaReader(System::Data::IDataReader ^ dataReader, System::Data::IDbCommand ^ command);
public AdoDotNetSchemaReader (System.Data.IDataReader dataReader, System.Data.IDbCommand command);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetSchemaReader : System.Data.IDataReader * System.Data.IDbCommand -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetSchemaReader
Public Sub New (dataReader As IDataReader, command As IDbCommand)

Parameters

dataReader
IDataReader

IDataReader object containing the data result set, plus schema.

command
IDbCommand

IDbCommand object encapsulating the command executed against the data source, which allows the implementation of the Terminate() method to call Cancel() on the command.

Applies to