Implementing an AssociationNavigator
Last modified: April 20, 2010
Applies to: SharePoint Server 2010
An AssociationNavigator method instance enables you to get external items that are related to given external items, from the external system. This stereotype enables an association in Microsoft Business Connectivity Services (BCS). For example, given a business object named Customer, this stereotype can be used to get all the related orders of that customer.
To qualify as an AssociationNavigator, the corresponding method should:
Take an item as input for every source external content type of the AssociationNavigator.
Return an IEntityInstanceEnumerator that contains the external items that are associated with the given external items, that are based on the destination external content type.
We recommend that the method provide rich filtering, especially if it returns many external items. For more information about how to use filters, see IFilterCollection.