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

• When pasting domains, you can use the Switch Domain Bindings macro to map local properties to enterprise<br />

properties. You can find the macro in the sample macros on the Macro tab of the Data Model Explorer (Modeling<br />

<strong>Product</strong>ivity Macros) This macro scans all the columns and attributes in the active model or all models and<br />

switches the domain bindings from the source domain to the target domain. The information for each bound<br />

column will be updated with the target domain. Any domain overrides will be preserved.<br />

• When making multiple selections, Procedural Logic Data Dictionary objects, they must be the same type (i.e.<br />

reusable triggers or reusable procedures, but not both), all other objects can be different types.<br />

• To enable to the Copy Data Dictionary menu item, you must click within a Data Dictionary object node.<br />

• The Paste Data Dictionary menu item is available both at the root Data Dictionary object node as well as with in<br />

the node.<br />

Attaching External Documents to the Data Model<br />

Attachments and attachment types offer a structured method for you to associate an external piece of information to<br />

your data model. You can extend your metadata this way and include supporting documentation, such as meeting<br />

notes, risk analysis and spreadsheets. You can bind attachments to virtually any file or application on your system.<br />

Attachments are organized into two key components:<br />

• Attachment Types - An organizational system where you can group together similar attachments and specify<br />

which objects can have this type of attachment bound to them. Attachment Types define the scope of the<br />

attachments created underneath them. Use attachment types to organize attachments by either the object types<br />

to which they are applied or the scope of the business data they are supposed to capture for a model. Once you<br />

create an attachment, you can bind it to any data model objects associated with the attachment type.<br />

• Attachments - Information that you can associate with the diagram objects types selected for the Attachment<br />

Type. Attachments can take many different forms such as an external file, a date, or a test list.<br />

TIP: You can find a good example of a well-structured attachments folder in the Northwind sample<br />

model.<br />

Create and Edit Attachment Types<br />

1 In the Data Dictionary, right-click the Attachments folder and then click New Attachment Type.<br />

2 Define the attachment type as required and then click OK to complete the editor.<br />

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

Name page/tab<br />

Define the name of the attachment type and provide a description of the attachment type, such as when and why<br />

attachments of this type are used.<br />

Attachment Type Usage page/tab<br />

Lists all supported object classes to which you can bind attachments of this type. Any object classes you select<br />

here will be bound to this attachment type and will be displayed subsequently on the Binding Information tab of<br />

the Attachment Editor.<br />

Notes<br />

• When you want to only allow specific attachments to be bound to specific objects, you can create an Attachment<br />

Type for this purpose and on this tab, indicate the specific objects by selecting the corresponding boxes.<br />

• If you are editing an existing attachment type, and you remove object types from the object list on the Attachment<br />

Type Usage tab, bound attachments associated with this attachment type will be affected.<br />

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

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

Saved successfully!

Ooh no, something went wrong!