Click or drag to resize
LLBLGenProProviderBaseProduceNestedQueryAdditionalFilter Method
Produces the additional filter for the nested query so the nested query's results are filtered on the current level's results so only the results which possibly match a fetched element on the current level are retrieved.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
protected IPredicateExpression ProduceNestedQueryAdditionalFilter(
	List<Object[]> currentLevelData,
	IPredicateExpression currentLevelFilter,
	IRelationCollection currentLevelRelations,
	NestedQuerySpecification nestedQuery,
	int parameterizedPrefetchPathThreshold,
	ITemplateGroupSpecificCreator frameworkSpecificCreator
)

Parameters

currentLevelData
Type: System.Collections.GenericListObject
The current level data.
currentLevelFilter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
The current level filter, used to fetch the current level data.
currentLevelRelations
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The current level relations.
nestedQuery
Type: SD.LLBLGen.Pro.LinqSupportClassesNestedQuerySpecification
The nested query.
parameterizedPrefetchPathThreshold
Type: SystemInt32
The parameterized prefetch path threshold.
frameworkSpecificCreator
Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
The framework specific creator.

Return Value

Type: IPredicateExpression
the filter to use
See Also