B. In Entity Properties Form | Attributes tab: Drag&Drop techniques. Dell Toad Data Modeler
إعلان
إعلان
B. In Entity Properties Form | Attributes tab: Drag&Drop techniques
Use:
l
In the Entity Properties form, you can move attributes within an entity and between entities. (To change order of attributes within an entity, use the green arrows.) l
From the Entity Properties form to a Workspace, and vice versa l
Between the Entity Properties form and Model Explorer l
Multiple selection is possible - use SHIFT or CTRL keys
Example:
1. Open the Customer Properties form of the Customer entity and the Employee Properties form of the
Employee entity.
2. Click the Attributes tabs in both forms.
3. Select attributes in the Customer Properties form and drag them to the Employee Properties form |
Attributes tab.
C. In Model Explorer
Use: You can move attributes: l
Between entities in Model Explorer itself l
From Model Explorer to an entity on the Workspace directly l
Between Model Explorer and the Entity Properties form | Attributes tab l
Between two Model Explorers of two different models l
Multiple selection is possible - use SHIFT or CTRL keys
Tip: Use CTRL to select attributes of various entities in Model Explorer, and move them at one jump to another entity (of the same model or even a different model).
Example: Moving an attribute in Model Explorer.
1. Unfold the Entities folder in Model Explorer tree.
2. Select attributes (SHIFT or CTRL) and drag them to the Attributes or 'EntityName' folder of another entity.
Delete Attributes
In the Entity Properties form | Attributes tab, select the attribute and click Delete.
or
Find the attribute in Model Explorer | EntityName folder | Attributes | right-click and select
Delete Item.
Toad™ Data Modeler 5.3
User Guide
114
Parent Attributes (Rolenames)
You can change the attribute name e. g. in the following cases: l
When you create a self-relationship.
l
Whenever you want to change a Foreign Key attribute name.
Scenario
You have just added a self-relationship to the Film entity.
1. A copy of your identifying key attribute has been created in the entity - Film ID. Now you have two Film
ID attributes in the Film entity.
2. Edit the newly created Film ID attribute, define a new Name . The link to parent attribute is displayed on top right-hand corner of the form.
Toad™ Data Modeler 5.3
User Guide
115
3. Confirm OK and see the change on the Workspace.
Toad™ Data Modeler 5.3
User Guide
116
Keys
Display Keys in Model
To display keys in your ER diagram
From the Display Level box on the toolbar, select Primary Keys or PK and FK Keys or All Keys.
To define a display level for particular Workspace
Right-click the work area | Workspace Format | Entity tab | Display Level.
To display keys graphically in your ER diagram
Right-click the work area | Workspace Format | Entity tab | select the Display Keys Graphically checkbox.
To define different colors for key attributes on your Workspace
Select Settings | Options | Model section | Physical Model | Entity tab | Attribute Colors area.
To highlight key attributes on your Workspace
Point your cursor at a relationship line.
TIP:
When you point your mouse cursor at a relationship line, parent and child attributes are highlighted on the Workspace. You can set up the color at: Settings | Options |
Graphics | Colors area | Highlight Color.
Primary Key and Alternate Keys
Toad™ Data Modeler 5.3
User Guide
117
تنزيل
إعلان