AdoDotNetSchemaReader 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
AdoDotNetSchemaReader(DbDataReader) |
Initializes a new instance of the AdoDotNetSchemaReader class with a data reader object. |
AdoDotNetSchemaReader(DbDataReader, DbCommand) |
Initializes a new instance of the AdoDotNetSchemaReader class with a data reader object and a data command object. |
AdoDotNetSchemaReader(DbDataReader)
Initializes a new instance of the AdoDotNetSchemaReader class with a data reader object.
public:
AdoDotNetSchemaReader(System::Data::Common::DbDataReader ^ reader);
public AdoDotNetSchemaReader (System.Data.Common.DbDataReader reader);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader : System.Data.Common.DbDataReader -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader
Public Sub New (reader As DbDataReader)
Parameters
- reader
- DbDataReader
A DbDataReader object containing the result set and the schema.
Applies to
AdoDotNetSchemaReader(DbDataReader, DbCommand)
Initializes a new instance of the AdoDotNetSchemaReader class with a data reader object and a data command object.
public:
AdoDotNetSchemaReader(System::Data::Common::DbDataReader ^ reader, System::Data::Common::DbCommand ^ command);
public AdoDotNetSchemaReader (System.Data.Common.DbDataReader reader, System.Data.Common.DbCommand command);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader : System.Data.Common.DbDataReader * System.Data.Common.DbCommand -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader
Public Sub New (reader As DbDataReader, command As DbCommand)
Parameters
- reader
- DbDataReader
A DbDataReader object containing the result set and the schema.
- command
- DbCommand
A DbCommand object encapsulating the command executed against the data source, which allows the implementation of the Terminate() method to call CancelAsync(Object) on the command.