Click or drag to resize

PrefetchPathElement2 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.7.0.0 (5.7.0)
Syntax
public PrefetchPathElement2(
	IEntityCollection2 retrievalCollection,
	IEntityRelation relation,
	int destinationEntityType,
	int toFetchEntityType,
	int maxAmountOfItemsToReturn,
	ISortExpression sorter,
	IPredicateExpression filter,
	IRelationCollection filterRelations,
	IEntityFactory2 entityFactoryToUse,
	string propertyName,
	RelationType typeOfRelation
)

Parameters

retrievalCollection
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
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.
entityFactoryToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory2
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