Click or drag to resize
LLBLGenProProviderBase.ProduceNestedQueryAdditionalFilter 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.0.0.0 (5.0.0)
Syntax
protected IPredicateExpression ProduceNestedQueryAdditionalFilter(
	List<Object[]> currentLevelData,
	IPredicateExpression currentLevelFilter,
	IRelationCollection currentLevelRelations,
	NestedQuerySpecification nestedQuery,
	int parameterizedPrefetchPathThreshold,
	ITemplateGroupSpecificCreator frameworkSpecificCreator
)

Parameters

currentLevelData
Type: System.Collections.Generic.List<Object[]>
The current level data.
currentLevelFilter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicateExpression
The current level filter, used to fetch the current level data.
currentLevelRelations
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRelationCollection
The current level relations.
nestedQuery
Type: SD.LLBLGen.Pro.LinqSupportClasses.NestedQuerySpecification
The nested query.
parameterizedPrefetchPathThreshold
Type: System.Int32
The parameterized prefetch path threshold.
frameworkSpecificCreator
Type: SD.LLBLGen.Pro.LinqSupportClasses.ITemplateGroupSpecificCreator
The framework specific creator.

Return Value

Type: IPredicateExpression
the filter to use
See Also