PersistenceCoreCreateFilterForRelation Method |
Creates a filter based on the relation specified. It filters the end entity based on the start entity and the element filter specified.
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 static IPredicate CreateFilterForRelation(
IEntityRelation relation,
IRelationCollection elementFilterSubQueryRelations,
IPredicateExpression elementFilterSubQueryFilter,
long maxLimitToUse,
ISortExpression sorterToUse,
string setObjectAlias
)
Public Shared Function CreateFilterForRelation (
relation As IEntityRelation,
elementFilterSubQueryRelations As IRelationCollection,
elementFilterSubQueryFilter As IPredicateExpression,
maxLimitToUse As Long,
sorterToUse As ISortExpression,
setObjectAlias As String
) As IPredicate
Parameters
- relation
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
The relation. - elementFilterSubQueryRelations
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The element filter sub query relations. - elementFilterSubQueryFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
The element filter sub query filter. - maxLimitToUse
- Type: SystemInt64
The max limit to use. - sorterToUse
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The sorter to use. - setObjectAlias
- Type: SystemString
The set object alias.
Return Value
Type:
IPredicateSee Also