Click or drag to resize
IDao.GetMultiAsDataTable Method (IEntityFields, DataTable, IRetrievalQuery, ITransaction)
Retrieves the results of the query specified into the tableToFill.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
bool GetMultiAsDataTable(
	IEntityFields fieldsToReturn,
	DataTable tableToFill,
	IRetrievalQuery queryToUse,
	ITransaction transactionToUse
)

Parameters

fieldsToReturn
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFields
The fields used to produce the query or tableToFill.
tableToFill
Type: System.Data.DataTable
The table to fill.
queryToUse
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
The query to use.
transactionToUse
Type: SD.LLBLGen.Pro.ORMSupportClasses.ITransaction
The transaction to use.

Return Value

Type: Boolean
true if succeeded, false otherwise
Remarks
Used with stored procedure calling IRetrievalQuery instances to fill a typed view mapped onto a resultset. Be sure to call Dispose() on the passed in query, as it's not disposed in this method.
See Also