Gets the query expression for selecting the associated entity or entities. If AssociationResolverAttribute is being applied to an EntityHolder, the query expression must select a single entity; if to an EntityCollection, the query expression may select multiple entities.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
QueryExpression GetQueryExpression(
	Entity sourceEntity
)
Visual Basic (Declaration)
Function GetQueryExpression ( _
	sourceEntity As Entity _
) As QueryExpression

Parameters

sourceEntity
Type: Mindscape.LightSpeed..::.Entity
The entity containing the association to be loaded.

Return Value

A query expression which, when executed, will return the desired associated entity or entities.

See Also