Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
protected virtual void FetchPrefetchPath(
	IEntityCollection2 rootEntities,
	IRelationPredicateBucket filterBucket,
	long maxNumberOfItemsToReturn,
	ISortExpression sortClauses,
	IPrefetchPath2 prefetchPath
)

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