Partager via


AdoDotNetDataReader Constructors

Definition

Overloads

AdoDotNetDataReader(IDataReader)

Class constructor. Initializes a parameterized instance of the AdoDotNetDataReader class with an implementation of the IDataReader interface.

AdoDotNetDataReader(IDataReader, IDbCommand, DataParameter[])

Class constructor. Initializes a parameterized instance of the AdoDotNetDataReader class with an implementation of the IDataReader interface and the command and/or parameters that produced the IDataReader.

AdoDotNetDataReader(IDataReader)

Class constructor. Initializes a parameterized instance of the AdoDotNetDataReader class with an implementation of the IDataReader interface.

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

Parameters

dataReader
IDataReader

Name of the IDataReader instance with which the class is initialized.

Applies to

AdoDotNetDataReader(IDataReader, IDbCommand, DataParameter[])

Class constructor. Initializes a parameterized instance of the AdoDotNetDataReader class with an implementation of the IDataReader interface and the command and/or parameters that produced the IDataReader.

public:
 AdoDotNetDataReader(System::Data::IDataReader ^ dataReader, System::Data::IDbCommand ^ command, cli::array <Microsoft::VisualStudio::Data::DataParameter ^> ^ parameters);
public AdoDotNetDataReader (System.Data.IDataReader dataReader, System.Data.IDbCommand command, Microsoft.VisualStudio.Data.DataParameter[] parameters);
new Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataReader : System.Data.IDataReader * System.Data.IDbCommand * Microsoft.VisualStudio.Data.DataParameter[] -> Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetDataReader
Public Sub New (dataReader As IDataReader, command As IDbCommand, parameters As DataParameter())

Parameters

dataReader
IDataReader

The IDataReader object.

command
IDbCommand

The IDbCommandobject.

parameters
DataParameter[]

Parameter array, if any.

Applies to