Click or drag to resize

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.9.0.0 (5.9.0)
Syntax
DataTable GetMultiAsDataTable(
	ISortExpression sortClauses,
	IPredicate selectFilter,
	IRelationCollection relations
)

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