IEntityCollectionGetMulti Method (IPredicate, ExcludeIncludeFieldsList, IPrefetchPath) |
Retrieves in this Collection object all Entity objects which match with the specified filter, formulated in the predicate or predicate expression definition, using the passed in relations to construct the total query.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax bool GetMulti(
IPredicate selectFilter,
ExcludeIncludeFieldsList excludedIncludedFields,
IPrefetchPath prefetchPathToUse
)
Function GetMulti (
selectFilter As IPredicate,
excludedIncludedFields As ExcludeIncludeFieldsList,
prefetchPathToUse As IPrefetchPath
) 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. - prefetchPathToUse
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPath
the PrefetchPath which defines the graph of objects to fetch.
Return Value
Type:
Booleantrue if succeeded, false otherwise
See Also