Click or drag to resize
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.0.0.0 (5.0.0)
Syntax
public static IPredicate CreateFilterForRelation(
	IEntityRelation relation,
	IRelationCollection elementFilterSubQueryRelations,
	IPredicateExpression elementFilterSubQueryFilter,
	long maxLimitToUse,
	ISortExpression sorterToUse,
	string setObjectAlias
)

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: IPredicate
See Also