PrefetchPathElement Constructor |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public PrefetchPathElement(
IEntityCollection retrievalCollection,
IEntityRelation relation,
int destinationEntityType,
int toFetchEntityType,
int maxAmountOfItemsToReturn,
ISortExpression sorter,
IPredicateExpression filter,
IRelationCollection filterRelations,
string propertyName,
RelationType typeOfRelation
)
Public Sub New (
retrievalCollection As IEntityCollection,
relation As IEntityRelation,
destinationEntityType As Integer,
toFetchEntityType As Integer,
maxAmountOfItemsToReturn As Integer,
sorter As ISortExpression,
filter As IPredicateExpression,
filterRelations As IRelationCollection,
propertyName As String,
typeOfRelation As RelationType
)
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