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 />

• Synchronize Domain and Attribute/Column Names: Select this option to synchronize the Domain, Attribute,<br />

and Column Names. If you entered names in the Attribute and/or Column Name fields that are different than the<br />

Domain name, selecting this option overrides your entries.<br />

• Apply nullability to all bound columns? This option becomes available when you select a datatype that can<br />

have nulls but you choose to disallow nulls by clicking No in the Allow Nulls area. Selecting this check box does<br />

not impact if there are no bound columns.<br />

• Identity Property area: This area becomes available if the Identity Property is supported by the database<br />

platform of a model in the diagram, and the datatype selected, such as TINYINIT, supports this property.<br />

Default tab<br />

• Default Binding: If a default value has not already been bound to the domain (Data Dictionary > Defaults > Edit<br />

Default Definition > Binding Information), you can enter a Declarative Default value or choose another Default<br />

from the Default Binding list. The declarative default will appear in the SQL produced when you select Generate<br />

Database from the physical model.<br />

• Declarative Default: Specifies the default domain value when a value is not explicitly specified during an insert.<br />

DEFAULT definitions can be applied to any columns except those defined as timestamp, or those with the<br />

IDENTITY property. Only a constant value, such as a character string; a system function, such as<br />

SYSTEM_US<strong>ER</strong>(); a NULL; or a constraint name can be assigned to a DEFAULT.<br />

Rule/Constraint tab<br />

Add, modify, or delete a constraint. Check constraints are used to ensure the validity of data in a database and to<br />

provide data integrity. For more information, see Enforcing Data Integrity Using Check Constraints.<br />

Reference Values tab<br />

Reference Values are attributes that define allowed data. They represent look-up table columns or code-value<br />

ranges or a rule or constraint applied to columns. For more information, see Defining Valid Attribute Data Using<br />

Reference Values.<br />

Naming Standards tab<br />

Controls user and object permissions to modify the affected item. When a Naming Standards Template is bound<br />

to an object, then that template is used instead of the Naming Standards Template selected in the Naming<br />

Standards Utility or the Generate Physical Model utility. This allows you to apply different naming standards to<br />

different objects when portions of a model require different versions of a standard. For example, some objects<br />

already exist in the database and you do not want to apply a newer naming standard to them. For more<br />

information, see Enforcing Naming Standards Using Naming Standards Templates.<br />

Definition tab<br />

Note tab<br />

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

domain 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 />

Override Controls tab<br />

Controls what can or cannot be overridden on columns bound to this domain.<br />

• General Overrides area: The allow/disallow options disable the “override” indicator on the bound<br />

attributes/columns if set to Disallow. When you modify the domain override controls and set one or more of the<br />

general override options to Disallow, <strong>ER</strong>/<strong>Studio</strong> (and the RepoServer for Enterprise Data Dictionaries) removes<br />

all existing overrides for that particular property.<br />

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

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

Saved successfully!

Ooh no, something went wrong!