AdoDotNetSchemaReader Constructor (IDataReader, IDbCommand)
Class constructor. Initializes a new instance of the AdoDotNetSchemaReader class with IDataReader and IDbCommand objects.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub New ( _
dataReader As IDataReader, _
command As IDbCommand _
)
public AdoDotNetSchemaReader(
IDataReader dataReader,
IDbCommand command
)
public:
AdoDotNetSchemaReader(
IDataReader^ dataReader,
IDbCommand^ command
)
new :
dataReader:IDataReader *
command:IDbCommand -> AdoDotNetSchemaReader
public function AdoDotNetSchemaReader(
dataReader : IDataReader,
command : IDbCommand
)
Parameters
dataReader
Type: System.Data.IDataReaderIDataReader object containing the data result set, plus schema.
command
Type: System.Data.IDbCommandIDbCommand object encapsulating the command executed against the data source, which allows the implementation of the Terminate method to call Cancel on the command.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.