Click or drag to resize

RelationPredicateBucket Constructor (IPredicate, IRelation)

Initializes a new instance of the RelationPredicateBucket class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public RelationPredicateBucket(
	IPredicate filterToUse,
	IRelation relationToUse
)

Parameters

filterToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The filter to use.
relationToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelation
The relation to use.
Remarks
If filterToUse is a PredicateExpression, it will be set as the initial PredicateExpression object of this RelationalPredicateBucket. In that case, adding a predicate P to this bucket's PredicateExpression object will add P to the object passed in as filterToUse. To avoid this, add the object passed in as filterToUse separately to this bucket using the Add* methods on this bucket's PredicateExpression, and then add P using the Add* methods.
See Also