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.2.0.0 (5.2.17.0403)
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.ORMSupportClasses.IEntityCollection2
Retrieval collection.
relation
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityRelation
Relation.
destinationEntityType
Type: System.Int32
Destination entity type.
toFetchEntityType
Type: System.Int32
To fetch entity type.
maxAmountOfItemsToReturn
Type: System.Int32
Max amount of items to return.
sorter
Type: SD.LLBLGen.Pro.ORMSupportClasses.ISortExpression
Sorter.
filter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicateExpression
Filter.
filterRelations
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRelationCollection
Filter relations.
entityFactoryToUse
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFactory2
propertyName
Type: System.String
Name of the property the entities fetched by the definition of this path element are stored.
typeOfRelation
Type: SD.LLBLGen.Pro.ORMSupportClasses.RelationType
The type of relation between the entity to fetch and the entity which will hold the entity to fetch
See Also