Condividi tramite


AdoDotNetReader Constructors

Definition

Overloads

AdoDotNetReader(DbDataReader)

Initializes a parameterized instance of the AdoDotNetReader class with an ADO.NET data reader object.

AdoDotNetReader(DbDataReader, DbCommand)

Initializes a parameterized instance of the AdoDotNetReader class with an ADO.NET data reader object and a command object.

AdoDotNetReader(DbDataReader)

Initializes a parameterized instance of the AdoDotNetReader class with an ADO.NET data reader object.

public:
 AdoDotNetReader(System::Data::Common::DbDataReader ^ reader);
public AdoDotNetReader (System.Data.Common.DbDataReader reader);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetReader : System.Data.Common.DbDataReader -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetReader
Public Sub New (reader As DbDataReader)

Parameters

reader
DbDataReader

A DbDataReader object with which the class is initialized.

Applies to

AdoDotNetReader(DbDataReader, DbCommand)

Initializes a parameterized instance of the AdoDotNetReader class with an ADO.NET data reader object and a command object.

public:
 AdoDotNetReader(System::Data::Common::DbDataReader ^ reader, System::Data::Common::DbCommand ^ command);
public AdoDotNetReader (System.Data.Common.DbDataReader reader, System.Data.Common.DbCommand command);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetReader : System.Data.Common.DbDataReader * System.Data.Common.DbCommand -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetReader
Public Sub New (reader As DbDataReader, command As DbCommand)

Parameters

reader
DbDataReader

A DbDataReader object with which the class is initialized.

command
DbCommand

A DbCommand object with which the class is initialized.

Applies to