Containment Relationships

From ER/Studio Data Architect
Jump to: navigation, search

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

  1. On the Data Model Explorer, click the Data Model tab.
  2. 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.
  3. Click on the object containing the other object.
  4. 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.

Containment Relationship.png

The 1 indicates a single nested object; * indicates an array.

See Also