DaoBaseGetMultiAsDataTable Method (IEntityFields, DataTable, IRetrievalQuery, ITransaction) |
Retrieves the results of the query specified into the tableToFill.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public bool GetMultiAsDataTable(
IEntityFields fieldsToReturn,
DataTable tableToFill,
IRetrievalQuery queryToUse,
ITransaction transactionToUse
)
Public Function GetMultiAsDataTable (
fieldsToReturn As IEntityFields,
tableToFill As DataTable,
queryToUse As IRetrievalQuery,
transactionToUse As ITransaction
) As Boolean
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:
Booleantrue 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