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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Unify Native Attribute with propagating Attribute<br />

If selected, <strong>ER</strong>/<strong>Studio</strong> unifies the propagating foreign with the native attribute in the child table.<br />

NOTE: <strong>ER</strong>/<strong>Studio</strong> keeps id in the child entity if you delete the relationship.<br />

Validating the Model<br />

The Model Validation wizard helps enforce your selected standards for data model objects and data dictionary usage.<br />

Validating the model also eases the process of model correction and review. More than 50 checks validate either the<br />

logical or physical model for problems such as missing object definitions, unused domains, identical unique indexes,<br />

and circular relationships. You can choose which validation options to use and sort the report results found by the<br />

wizard so that colleagues know exactly where to begin when correcting a model. You can also build validation<br />

templates by using the Quicklaunch feature.<br />

Validate the Model<br />

1 In the Data Model Explorer, navigate to and then right-click the top-level of the model node.<br />

2 Click Validate Logical Model (or Physical model) from the shortcut menu.<br />

3 In the Model Validation Wizard, choose your validation rules and options as follows:<br />

Validation Options tab: Select the validation rules you want enforced for modeling and for the Data Dictionary.<br />

Object Selection tab: Select the objects to which the rules should be applied.<br />

4 Click Run Validation.<br />

5 Click the Output tab to view and sort the results, and then to export the results if desired.<br />

Notes<br />

• For information on using the Quick Launch feature, see Saving and Using Quick Launch Settings.<br />

• If you have selected the SQL Validation option on the View tab of the Options Editor then whenever you update<br />

the sql for a view, the validation dialog will appear to notify you of any syntax errors. Select Tools > Options ><br />

View.<br />

• If you select View SQL Alerts on the Repository tab of the Options Editor then when you check your models into<br />

the Repository you’ll be notified of any SQL problems. Select Tools > Options > Repository.<br />

Customizing Datatype Mappings<br />

When creating an entity attribute you can assign it a datatype, which defines how the data is stored in the database<br />

along with the length and precision. When you want to generate a physical model from the logical model, the datatype<br />

of the logical attribute is translated into a physical datatype. The target datatype used in the logical to physical<br />

translation depends on the target platform and the datatype mapping. Physical datatypes are platform specific and can<br />

differ depending on your DBMS platform. You can view the specific mappings for each supported platform in the<br />

Datatype Mapping Editor. You can either use the default system mappings or create customized mappings.<br />

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

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

Saved successfully!

Ooh no, something went wrong!