Chapter 4 Building Conceptual Data Models


Attaching an entity attribute to a domain

If you attach an entity attribute to a domain, the domain supplies the data type and related data characteristics. It may also indicate check parameters and business rules.

Steps To attach an entity attribute to a domain:

  1. Double-click an entity in the diagram to display its property sheet.
  2. Click the Attributes tab to display the corresponding page.

    It list entity attributes associated with the entity.
  3. Click an entity attribute to define.

    An arrow appears at the beginning of the line.
  4. Click the Properties tool.

    or

    Double-click the arrow at the beginning of the line.

    The entity attribute property sheet opens to the General page.


    Note   Opening property sheets at last accessed page
    You can choose to open property sheets at the last accessed page by selecting Tools→General Options→Dialog, and selecting the option Keep Last Tab in the Property Sheets groupbox.

  5. Select a domain from the Domain dropdown listbox at the bottom of the dialog box.

    or

    Click the Ellipsis button at the end of the Domain dropdown listbox.

    The list of domains appears.

    Select a domain from the list.

    Click OK.
  6. Click OK.

    You return to the Entity attributes page. In the Data Type column, the data type of the domain replaces the data type previously defined for the entity attribute.
  7. Click OK.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.