The IAssociationResolver type exposes the following members.

Methods

  NameDescription
GetQueryExpression
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.
SetForeignKey
Sets fields in a child entity to represent the specified foreign key value. This method need not be implemented when AssociationResolverAttribute is being applied to an EntityCollection.

See Also