You can use the Entity diagram, available in the Edit menu, on the Toolbar or by right-clicking on the Entities folder in the eSpace tree, to get a graphical overview of your entities and their relationships (An association between two entities that is implement through a special data type: <Entity> identifier. A relationship can be one-to-one, one-to-many or many-to-many.).

The following picture presents an example of an entity diagram with two independent entities:

Simply drag the entities and drop them onto the Entity diagram. When there is a relationship between the entities present in this diagram, OutSystems Service Studio automatically connects them with the appropriate connector. The possible connectors are the following:

Besides the type of connector, you can also have a number associated with the connector when there are several relationships between the same entities. In the next picture, you have a situation with two relationships between Customer and ZipCode: one due to the reference attributes HomeZipCode and OfficeZipCode.

Once the entity is dropped in the Entity diagram, you can:

See Also

Manage Entities | Create Relationships