Chapter 15 DBMS-Specific Features


Generating inheritance links

When you generate a logical PDM from a CDM or an OOM, you can recover inheritance or generalization links and display them in the PDM diagram. To do so, you need to enable a post generation transformation that will convert all inheritance and generalization links into PDM inheritance links.

For more information on transformations used during model generation, see the Generating Other Models from a PDM chapter.

If you do not enable transformations during generation, you can still use the Apply Transformations feature to apply the inheritance symbol to all references proceeding from inheritance or generalization links.

For more information on how to apply transformations and retrieve inheritance symbols, see section Applying transformations to retrieve inheritance symbols.

Steps To generate inheritance links:

  1. Select Tools→Generate Physical Data Model from a CDM or an OOM.

    Make sure the DBMS of the target PDM is <Logical Model>.
  2. Click the Details tab to display the corresponding tab.
  3. Click the Enable Transformations button.

    The Post-generation tab is displayed and displays a transformation profile with a transformation designed to convert inheritance and generalization objects into references with a specific symbol.
  4. Click OK in the generation dialog box.

    The inheritance links are created in the generated PDM.

 


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