AdoDotNetReader Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.