Execute an IDbCommand (that returns a resultset) against the database specified in
the connection String.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual void FillDataset(
IDbCommand command,
DataSet dataSet,
string[] tableNames
) |
Visual Basic |
---|
Public Overridable Sub FillDataset (
command As IDbCommand,
dataSet As DataSet,
tableNames As String()
) |
Parameters
- command
- Type: System.Data..::..IDbCommand
The IDbCommand to execute
- dataSet
- Type: System.Data..::..DataSet
A DataSet wich will contain the resultset generated by the command
- tableNames
- Type: array<System..::..String>[]()[][]
This array will be used to create table mappings allowing the DataTables to be referenced
by a user defined name (probably the actual table name)
Exceptions
See Also