共用方式為


AssociationGroup Class

Represents a collection of references to logically related association navigators, associators, and disassociator objects, and the corresponding bulk stereotypes.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.BusinessData.Administration.MetadataObject
    Microsoft.SharePoint.BusinessData.Administration.AccessControlledMetadataObject
      Microsoft.SharePoint.BusinessData.Administration.AssociationGroup

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class AssociationGroup _
    Inherits AccessControlledMetadataObject
'Usage
Dim instance As AssociationGroup
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class AssociationGroup : AccessControlledMetadataObject

Remarks

Multiple logical relationships maintained by a back-end database between the same sources and destination external content types might exist. Consider an example in which a Customer has late Orders and on-time Orders. Based on business logic, a back-end database might move an association between a Customer and Order into either of these distinct relationships. Thus, an API that takes an Order and a Customer, and associates (or disassociates) them, must be related to a specific logical relationship and corresponding Navigator. This is done by binding several individual Association stereotypes into a Group; this construct is an association group.

This class ties together a forward navigator with a reverse navigator and disambiguates which logical relationship is affected by an associator or disassociator.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AssociationGroup Members

Microsoft.SharePoint.BusinessData.Administration Namespace