Click or drag to resize
PrefetchPathElement Constructor
CTor. Creates a new PrefetchPathElement instance.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public PrefetchPathElement(
	IEntityCollection retrievalCollection,
	IEntityRelation relation,
	int destinationEntityType,
	int toFetchEntityType,
	int maxAmountOfItemsToReturn,
	ISortExpression sorter,
	IPredicateExpression filter,
	IRelationCollection filterRelations,
	string propertyName,
	RelationType typeOfRelation
)

Parameters

retrievalCollection
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection
Retrieval collection.
relation
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
Relation.
destinationEntityType
Type: SystemInt32
Destination entity type.
toFetchEntityType
Type: SystemInt32
To fetch entity type.
maxAmountOfItemsToReturn
Type: SystemInt32
Max amount of items to return.
sorter
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
Sorter.
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
Filter.
filterRelations
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
Filter relations.
propertyName
Type: SystemString
Name of the property the entities fetched by the definition of this path element are stored.
typeOfRelation
Type: SD.LLBLGen.Pro.ORMSupportClassesRelationType
The type of relation between the entity to fetch and the entity which will hold the entity to fetch
See Also