You define mapping collections of value type as follows:
- Create an entity type class.
- Create another class for value type.
- Open the property sheet of the class, click the Detail tab, and select the Value type radio button.
- Create an association between the value type class and an entity type class. On the value type side, set the multiplicity to one and the navigability to true.
- Generate the PDM with O/R mapping.
- Open the property sheet of the entity class and click the Preview tab.
- Verify the mapping file.
A composite entity class may contain components, using the <nested-composite-element> declaration.