Click or drag to resize

DaoBaseGetMultiAsDataTable 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.11.0.0 (5.11.23.1114)
Syntax
public bool GetMultiAsDataTable(
	IEntityFields fieldsToReturn,
	DataTable tableToFill,
	IRetrievalQuery queryToUse,
	ITransaction transactionToUse
)

Parameters

fieldsToReturn
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
The fields used to produce the query or tableToFill.
tableToFill
Type: System.DataDataTable
The table to fill.
queryToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to use.
transactionToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
The transaction to use.

Return Value

Type: Boolean
true if succeeded, false otherwise

Implements

IDaoGetMultiAsDataTable(IEntityFields, DataTable, IRetrievalQuery, ITransaction)
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