DataAccessAdapterCoreFetchPrefetchPath Method |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances to be fetched.
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 protected virtual void FetchPrefetchPath(
IEntityCollection2 rootEntities,
IRelationPredicateBucket filterBucket,
long maxNumberOfItemsToReturn,
ISortExpression sortClauses,
IPrefetchPath2 prefetchPath
)
Protected Overridable Sub FetchPrefetchPath (
rootEntities As IEntityCollection2,
filterBucket As IRelationPredicateBucket,
maxNumberOfItemsToReturn As Long,
sortClauses As ISortExpression,
prefetchPath As IPrefetchPath2
)
Parameters
- rootEntities
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
EntityCollection object containing one or more root objects which will contain the entities to fetch (and their paths)
defined in the prefetch path. - filterBucket
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information used to retrieve the root entities. - maxNumberOfItemsToReturn
- Type: SystemInt64
The maximum amount of entities to return limit used to retrieve the root entities. - sortClauses
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
SortClause expression which was applied to the query executed to retrieve the root entities - prefetchPath
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPath2
the PrefetchPath which defines the graph of objects to fetch.
See Also