Architecting and designing > UML 2.0 Lite > Object/relational integration > Mapping a class diagram to a data model > Procedure for mapping a class diagram to a logical data model
  
Procedure for mapping a class diagram to a logical data model
1 Open the UML class diagram that you are converting.
2 If you only want to map a certain subset of classes and associations on the diagram, select those classes and associations through standard Windows techniques. (To generate for the entire diagram, or the entire package, you do not have to select anything.)
3 On the Dictionary menu, click Convert to ER Diagram.
4 In the Convert OO - ER dialog, select the data model that you want to map the class diagram to. You can type the name of a new model.
5 Select the diagram that you want to map the class diagram to, or type a new diagram name. If you select an existing diagram, the classes mapping will merge into the existing diagram.
6 Select the type of transfer:
All symbols
Maps all symbols in the currently open class diagram to the ER diagram.
Selected symbols
Maps only those symbols you selected in step 2 above, to the ER diagram.
Entire package
Maps all symbols in the package to the ER diagram.
7 Click OK.
The appropriate parts of the class model will be mapped to the selected ER diagram.
See also
Mapping a class diagram to a data model