LinqUtilsCreatePredicateExpressionFromCorrelationRelation Method (IEntityRelation, ITemplateGroupSpecificCreator, MappingTracker) |
Creates a predicate expression from the correlation relation passed in. It aliases all fields to the start/end alias set, and creates
field compare field predicates (FieldCompareExpression instances) which are added with AND to the expression to return
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static IPredicateExpression CreatePredicateExpressionFromCorrelationRelation(
IEntityRelation correlationRelation,
ITemplateGroupSpecificCreator frameworkElementCreator,
MappingTracker trackedMappings
)
Public Shared Function CreatePredicateExpressionFromCorrelationRelation (
correlationRelation As IEntityRelation,
frameworkElementCreator As ITemplateGroupSpecificCreator,
trackedMappings As MappingTracker
) As IPredicateExpression
Parameters
- correlationRelation
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
The correlation relation. - frameworkElementCreator
- Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
The framework element creator. - trackedMappings
- Type: SD.LLBLGen.Pro.LinqSupportClassesMappingTracker
The tracked mappings.
Return Value
Type:
IPredicateExpression
a PredicateExpression with predicates which can be used to tie a correlated subquery to the outer query.
See Also