2.336 DefaultRelationship

Applies to RDL 2011/01

The DefaultRelationship element specifies a default relationship to use between the containing DataSet and a DefaultRelationship.RelatedDataSet when the scope that is bound to the containing DataSet is a child scope of the scope bound to the DefaultRelationship.RelatedDataSet.<174><175>

The following are the parent and child elements of the DefaultRelationship element.

Parent elements

DefaultRelationships

Child elements

DefaultRelationship.RelatedDataSet

DefaultRelationship.NaturalJoin

DefaultRelationship.JoinConditions

The following is the XML Schema definition of the DefaultRelationship element.

 <xsd:complexType name="DefaultRelationshipType">
     <xsd:choice minOccurs="1" maxOccurs="unbounded">
       <xsd:element name="RelatedDataSet" type="xsd:string" />
       <xsd:element name="NaturalJoin" type="xsd:boolean" minOccurs="0" />
       <xsd:element name="JoinConditions" type="JoinConditionsType" minOccurs="0" />
       <xsd:any namespace="##other" processContents="lax" />
     </xsd:choice>
     <xsd:anyAttribute namespace="##other" processContents="lax" />
   </xsd:complexType>