24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USING <strong>ER</strong>/STUDIO > DEVELOPING THE LOGICAL MODEL<br />

<strong>ER</strong>/<strong>Studio</strong> entity boxes have either square or rounded corners. Entity boxes with square corners are independent<br />

entities and those with rounded corners are dependent entities. In IDEF1X, an entity becomes dependent when it<br />

becomes the child entity in any identifying relationship. Based on this simple rule, <strong>ER</strong>/<strong>Studio</strong> automatically maintains<br />

entity type. An entity is always created as an independent entity because it starts with no relationships attached to it.<br />

An entity remains independent until it becomes a child in any identifying relationship.<br />

1 To create a new entity, in the Data Model Explorer, expand the Logical Main Model, right-click the Entities<br />

node, and then click New Entity.<br />

To define or edit entity details, double-click the entity to launch the Entity Editor.<br />

2 Define the entity as required and then click OK.<br />

The following describe options that require additional explanation:<br />

Attributes/Columns tab<br />

Keys tab<br />

Add, edit, or delete attributes/columns. You can also change the list order of the attributes/columns, which<br />

changes their corresponding placement in the entity/table. You can also add an attribute/column to the primary<br />

key for the entity/table. The tabs at the bottom of the Attributes/Columns tab apply only to the attribute/column<br />

selected. For more information, see Creating and Editing Attributes and Columns.<br />

Add, edit, or delete alternate keys and inversion entries. Provides access to the Key Editor. For more<br />

information, see Creating and Editing Keys.<br />

Relationships tab<br />

View any Relationships, if any, that exist between the entity/table and any other entities./tables. Information<br />

about the relationships include the relationship type and the Foreign Keys. On this tab, you can double-click a<br />

related entity/table to open the entity/table editor for that entity/table. For more information, see Creating and<br />

Editing Relationships.<br />

Definition tab<br />

Note tab<br />

Enter or edit a definition for the entity/table. If the target database supports it, <strong>ER</strong>/<strong>Studio</strong> adds this definition as an<br />

entity comment when generating SQL code.<br />

The notes added here are included as part of the HTML report when you generate a report for the model. You<br />

can format the notes using standard HTML tags.<br />

Where Used tab<br />

Shows which logical and physical models and submodels implement the entity/table.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 115

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!