PrefetchPathElement2 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 PrefetchPathElement2(
IEntityCollection2 retrievalCollection,
IEntityRelation relation,
int destinationEntityType,
int toFetchEntityType,
int maxAmountOfItemsToReturn,
ISortExpression sorter,
IPredicateExpression filter,
IRelationCollection filterRelations,
IEntityFactory2 entityFactoryToUse,
string propertyName,
RelationType typeOfRelation
)
Public Sub New (
retrievalCollection As IEntityCollection2,
relation As IEntityRelation,
destinationEntityType As Integer,
toFetchEntityType As Integer,
maxAmountOfItemsToReturn As Integer,
sorter As ISortExpression,
filter As IPredicateExpression,
filterRelations As IRelationCollection,
entityFactoryToUse As IEntityFactory2,
propertyName As String,
typeOfRelation As RelationType
)
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