IEntityCollectionGetMulti Method (IPredicate, ExcludeIncludeFieldsList, Int64) |
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.10.0.0 (5.10.0)
Syntax bool GetMulti(
IPredicate selectFilter,
ExcludeIncludeFieldsList excludedIncludedFields,
long maxNumberOfItemsToReturn
)
Function GetMulti (
selectFilter As IPredicate,
excludedIncludedFields As ExcludeIncludeFieldsList,
maxNumberOfItemsToReturn As Long
) 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. When set to null all entities will be retrieved (no filtering is being performed) - excludedIncludedFields
- Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The list of IEntityField objects which have to be excluded or included for the fetch.
If null or empty, all fields are fetched (default). If an instance of ExcludeIncludeFieldsList is passed in and its ExcludeContainedFields property
is set to false, the fields contained in excludedIncludedFields are kept in the query, the rest of the fields in the query are excluded. - maxNumberOfItemsToReturn
- Type: SystemInt64
The maximum number of items to return with this retrieval query.
Return Value
Type:
Booleantrue if succeeded, false otherwise
See Also