How to: Add XML Relationship Data
You can add XML relationship data to an existing class data node as described in the following procedure.
To add XML relationship data to class data
In DSL Explorer, expand the Xml Serialization Behavior node, and then expand the Class Data node.
Under the Class Data node, right-click the node to which you want to add XML relationship data, and click Add New Xml Relationship Data.
An Xml Relationship Data node appears under the Element Data node under the class data node that you selected.
Click the new node, and in the Properties window, change its properties to meet your requirements as described in the following table:
Property
Description
Has Custom Moniker
Specifies whether the logic to create monikers is defined custom code.
Domain Relationship
Specifies the relationship to which the XML serialization configuration data applies.
Omit Element
Specifies whether the XML tag that corresponds to the source role is omitted from the schema.
Role Element Name
Specifies the name of the XML element that is derived from the source role. The default value of this property is the property name.
Use Full Form
Specifies whether links of the relationship are serialized in their full form.