Service Studio provides Entity Diagrams for you to have a graphical view of your entities and their relationships.
Creating an Entity Diagram
To create a new Entity Diagram proceed as follows:
Click on the Data Layer of the eSpace Tree;
Right-click on the Entity Diagrams folder;
Select Add Entity Diagram option from the pop-up menu.
Add Entities to the Entity Diagram by simply dragging them from Data Layer of the eSpace Tree and dropping them on the canvas.
Any existing relationship between two entities is depicted in the Entity Diagram through a connector:
In case two entities have more than one relationship between them, you have connectors for each one of the relationships.
By right-clicking on an Entity a pop-up menu is shown up with a list of operations you can perform over the Entity. The most relevant are the following:
Show all entities referenced by '<entity>': all entities to which the <entity> has a reference attribute (foreign key) are added to the Entity Diagram;
Show all entities that refer '<entity>': all entities that have a reference attribute (foreign key) to the <entity> are added to the Entity Diagram;
Find Usages: finds where an Entity is being used in the current eSpace. Learn more about Find Element Usages.
Find Usages in All eSpaces: finds where an Entity is being used in the current eSpace and in Consumer eSpaces. Learn more about how to Reuse eSpace Elements.
Download all '<entity>' Consumers: opens all eSpaces that are using a reference to the <entity>. Learn how to Use Entity References.
Refresh '<entity>' in all open Consumers: updates the current definition of the <entity> in all eSpaces that are currently open and using a reference to the <entity>. Learn how to Use Entity References.
More...: opens the Entity Editor (a shortcut is to double-click on the Entity).
Manage Entities | Create Relationships