2.2.4.23 AssociationStruct

Namespace: Microsoft.SharePoint.BusinessData

The AssociationStruct complex type MUST contain information about an Association. A namespace at any index of the sourceEntityNamespaces element of this complex type MUST be the namespace of the Entity which the name at the same index of the sourceEntityNames element belongs to.

 <xs:complexType name="AssociationStruct" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:complexContent mixed="false">
     <xs:extension base="q8:MethodInstanceStruct">
       <xs:sequence>
         <xs:element minOccurs="0" name="associationGroupId" type="xs:unsignedInt"/>
         <xs:element minOccurs="0" name="destinationEntityName" nillable="true" type="xs:string"/>
         <xs:element minOccurs="0" name="destinationEntityNamespace" nillable="true" type="xs:string"/>
         <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="sourceEntityNames" nillable="true" type="q7:ArrayOfstring"/>
         <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="sourceEntityNamespaces" nillable="true" type="q7:ArrayOfstring"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

associationGroupId: The MetadataObjectId of the AssociationGroup which the Association is referenced by. If the Association is referenced by an AssociationGroup, the value of this element MUST be the MetadataObjectId of the referencing AssociationGroup. Otherwise the value of this element MUST be 0. The value of this element MUST be in [0, 0x7fffffff] range. This element MUST be present.

destinationEntityName: The name of the Association destination of the Association. This element MUST be present. The value of this element MUST have at least 1, at most 255 Unicode characters.

destinationEntityNamespace: The namespace of the Association destination of the Association. This element MUST be present. The value of this element MUST have at least 1, at most 255 Unicode characters.

sourceEntityNames: The list of names of the Association sources of the Association. This element MUST be present. This list MUST contain at least one child element. Each name in this list of Association source names MUST have at least 1, at most 255 Unicode characters.

sourceEntityNamespaces: The list of namespaces of the Association sources of the Association. This element MUST be present. This list MUST contain at least one child element. Each namespace in this list of Association source namespaces MUST have at least 1, at most 255 Unicode characters.