IDaoGetMultiAsDataTable Method (ISortExpression, IPredicate, IRelationCollection) |
Retrieves entities of the type this dao is for in a datatable which match the specified filter. It will always create a new connection to the database.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax DataTable GetMultiAsDataTable(
ISortExpression sortClauses,
IPredicate selectFilter,
IRelationCollection relations
)
Function GetMultiAsDataTable (
sortClauses As ISortExpression,
selectFilter As IPredicate,
relations As IRelationCollection
) As DataTable
Parameters
- sortClauses
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The order by specifications for the sorting of the resultset. When not specified, no sorting is applied. - selectFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
A predicate or predicate expression which should be used as filter for the entities to retrieve. - relations
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The set of relations to walk to construct to total query.
Return Value
Type:
DataTable
a filled datatable if succeeded, false otherwise
See Also