2.1.3.10 AssociationReference

Target namespace: http://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Referenced by: AssociationGroup

A complex type that specifies an AssociationReference in an AssociationGroup. AssociationReferences refer to Associations.

Attributes:

EntityNamespace: A NameString attribute (section 2.1.4.9) that specifies the namespace of the Entity where the referenced Association is defined.

EntityName: A NameString attribute that specifies the name of the Entity where the referenced Association is defined.

AssociationName: A NameString attribute that specifies the name of the referenced Association.

Reverse: An xs:boolean attribute that specifies whether the source of the referenced Association is the destination of the containing AssociationGroup and the destination of the referenced Association is the source of the containing AssociationGroup. This attribute MUST be set to one of the values listed in the following table.

Value

Description

False

The sources of the referenced Association are the sources of the containing AssociationGroup and the destination of the referenced Association is the destination of the containing AssociationGroup.

True

The source of the referenced Association is the destination of the containing AssociationGroup and destination of the referenced Association is the source of the containing AssociationGroup. The referenced Association MUST have only one source.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="AssociationReference">
   <xs:attribute name="EntityNamespace" type="bdc:NameString" use="optional"/>
   <xs:attribute name="EntityName" type="bdc:NameString" use="optional"/>
   <xs:attribute name="AssociationName" type="bdc:NameString" use="required"/>
   <xs:attribute name="Reverse" type="xs:boolean" use="optional" default="false"/>
 </xs:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).