共用方式為


AssociationGroup Element in AssociationGroups (BDCMetadata Schema)

Applies to: SharePoint Server 2010

Specifies an AssociationGroup. AssociationGroup is a construct that ties the related AssociationMethods together. For example, GetOrdersForCustomer, GetCustomerForOrder, and AssociateCustomerToOrder are all association methods that work on the same relationship between Customer and Order.

Namespace: https://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Schema: BDCMetadata

AssociationGroup must be defined on the Entity element that is the Destination of the AssociationReferences that are not marked as Reverse, or the Source of the AssociationReferences that are marked as Reverse.

<AssociationGroup Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </AssociationGroup>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

Name

Required.

The name of the AssociationGroup.

Attribute type: String

DefaultDisplayName

Optional.

The default display name of the AssociationGroup.

Attribute type: String

IsCached

Optional.

Specifies whether the AssociationGroup is used frequently.

Default value: true

Attribute type: Boolean

Child Elements

Element

Description

LocalizedDisplayNames Element in MetadataObject (BDCMetadata Schema)

The localized names of the AssociationGroup.

Properties Element in MetadataObject (BDCMetadata Schema)

The properties of the AssociationGroup.

AssociationReference Element in AssociationGroup (BDCMetadata Schema)

An AssociationReference of an AssociationGroup.

Parent Elements

Element

Description

AssociationGroups Element in Entity (BDCMetadata Schema)

The AssociationGroups element that contains this AssociationGroup.