IEntityCollectionGetMulti Method (IPredicate, Int64, ISortExpression, IRelationCollection) |
Retrieves in this Collection object all Entity objects which match with the specified filter, formulated in the predicate or predicate expression definition.
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 bool GetMulti(
IPredicate selectFilter,
long maxNumberOfItemsToReturn,
ISortExpression sortClauses,
IRelationCollection relations
)
Function GetMulti (
selectFilter As IPredicate,
maxNumberOfItemsToReturn As Long,
sortClauses As ISortExpression,
relations As IRelationCollection
) As Boolean
Parameters
- selectFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
A predicate or predicate expression which should be used as filter for the entities to retrieve. - maxNumberOfItemsToReturn
- Type: SystemInt64
The maximum number of items to return with this retrieval query. - sortClauses
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The order by specifications for the sorting of the resultset. When not specified, no sorting is applied. - relations
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The set of relations to walk to construct the total query.
Return Value
Type:
Booleantrue if succeeded, false otherwise
See Also