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.10.0.0 (5.10.0)
Syntax public EntityQuery<TEntity> CorrelatedOver(
IEntityRelation relationship,
string aliasStartEntity,
string aliasEndEntity
)
Public Function CorrelatedOver (
relationship As IEntityRelation,
aliasStartEntity As String,
aliasEndEntity As String
) As EntityQuery(Of TEntity)
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:
EntityQueryTEntitySee Also