Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoOperations.DataSetFill(DataSet, CommandType, String, String) Method

Fill a DataSet based on a select command that requires no parameters that returns one or more result sets that are added as DataTables to the DataSet

[Visual Basic]
Public Sub DataSetFill( _
   ByVal dataSet As DataSet, _
   ByVal commandType As CommandType, _
   ByVal sql As String, _
   ByVal tableNames As String _
)
[C#]
int DataSetFill(
   DataSet dataSet,
   CommandType commandType,
   string sql,
   string[] tableNames
);

Parameters

dataSet
The DataSet to populate
commandType
The type of command
sql
SQL query to execute
tableNames
The mapping of table names for each DataTable created

Return Value

See Also

IAdoOperations Interface | Spring.Data Namespace | IAdoOperations.DataSetFill Overload List