Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

MultipleTableDbCommandBuilder<(Of <(<'TCommand, TParameter>)>)>..::..ToDataSet Method (array<String>[]()[][])

Indicates the results should be materialized as a DataSet.

Namespace:  Tortuga.Chain.CommandBuilders
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public ILink<DataSet> ToDataSet(
	params string[] tableNames
)
Public Function ToDataSet ( _
	ParamArray tableNames As String() _
) As ILink(Of DataSet)
public:
ILink<DataSet^>^ ToDataSet(
	... array<String^>^ tableNames
)

Parameters

tableNames
Type: array<String>[]()[][]
The table names. This must either be empty or at least one name per result set returned by the database.

Remarks


There is a performance hit when not providing tableNames. The results will be loaded into a TableSet, then copied into a DataSet.