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 > WORKING WITH THE DATA DICTIONARY<br />

• User Datatypes: Customized datatypes allow for greater flexibility. For more information, see Ensuring<br />

Consistent Domain Definitions Using User Datatypes.<br />

• Domains: Reusable attributes and columns that make model creation more efficient. Quickly create a model by<br />

populating entities and tables with attributes and columns defined in domains. For more information, see Reusing<br />

Attribute Definitions Using Domains.<br />

• Reusable Procedural Logic: Reusable triggers, reusable procedures, and libraries. For more information, see<br />

Reusing Procedural Logic.<br />

This section also addresses the following topics<br />

• Importing a Data Dictionary<br />

• Copying and Pasting Data Dictionary Objects<br />

Importing a Data Dictionary<br />

You can import the Data Dictionary of another data model diagram (DM1 file), making it building a new model easier<br />

and more efficient. You can also use macros to perform task such as importing items like domains and object<br />

definitions, setting storage parameters on physical tables, and add naming conventions to constraints.<br />

Using a common data dictionary in your models facilitates the re-use and enforcement of established data definitions<br />

across multiple data models. When you important a Data Dictionary, the new objects are added to the existing Data<br />

Dictionary. <strong>ER</strong>/<strong>Studio</strong> maintains all existing dictionary objects as well as organization structures.<br />

Import a Data Dictionary<br />

1 Click File > Import Data Dictionary.<br />

2 In the File Name box, type the name of the data model where the target data Data DIctionary is stored, or browse<br />

and locate it.<br />

3 Choose how you want to handle name duplications by selecting one of the option listed in the Resolve Imported<br />

Objects with Duplicate Names pane.<br />

4 Click Open.<br />

Copying and Pasting Data Dictionary Objects<br />

You can select any standard Data Dictionary object and copy and paste it either within the current diagram on in<br />

another diagram. When you copy or paste a Data Dictionary object, <strong>ER</strong>/<strong>Studio</strong> copies and pastes all of its dependent<br />

objects too. You can also select multiple standard Data Dictionary objects, such as Defaults and Rules, or multiple<br />

Procedural Logic Data Dictionary objects, such as Reusable Triggers or Reusable Procedures.<br />

1 On the Data Model Explorer, click the Data Dictionary tab.<br />

2 On the Data Dictionary tab, right-click one or more target objects and then select Copy Dictionary Objects.<br />

3 Locate the target Data Dictionary (either the current diagram or to another diagram), right-click any node and<br />

then select Paste Data Dictionary Objects.<br />

Notes<br />

• You can also copy and paste objects from a local dictionary to an Enterprise Data Dictionary.<br />

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

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

Saved successfully!

Ooh no, something went wrong!