Click or drag to resize
EntityQueryTEntityCorrelatedOver Method (IEntityRelation, String, String)
Uses the specified relationship to construct a correlation predicate between this query (where TEntity should be the start entity of the relation specified) and a parent entity query. This method helps constructing correlation predicates without knowing the FK - PK relationships.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public EntityQuery<TEntity> CorrelatedOver(
	IEntityRelation relationship,
	string aliasStartEntity,
	string aliasEndEntity
)

Parameters

relationship
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
The relationship this query is correlated over with a parent query.
aliasStartEntity
Type: SystemString
The alias of the start entity of the relationship (i.e. TEntity).
aliasEndEntity
Type: SystemString
The alias of the end entity of the relationship (i.e. the entity of a parent query this query is correlated to).

Return Value

Type: EntityQueryTEntity
See Also