Go Up to Creating and Editing Relationships
A containment relationship is used for nested objects within a supported database. For instance, if you have reverse engineered nested objects within MongoDB, these will be added with a containment relationship to the object they are nested within.
To create a new containment relationship
- On the Data Model Explorer, click the Data Model tab.
- Choose Insert > Containment Relationship, this will change the cursor icon and allow you to select the objects in the main window with which to create the relationship.
- Click on the object containing the other object.
- Click on the object contained within the previously clicked object.
Double clicking on the relationship line will open the Containment Relationship Editor where you can edit settings.
The 1 indicates a single nested object; * indicates an array.