Click or drag to resize

RelationPredicateBucket Constructor (IPredicateExpression, IRelationCollection)

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.5.0.0 (5.5.18.1019)
Syntax
public RelationPredicateBucket(
	IPredicateExpression filter,
	IRelationCollection relationCollection
)

Parameters

filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
The filter.
relationCollection
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relation collection.
Remarks
If filterToUse isn't null, 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