Adding foreign keys to tables

You can add foreign keys to tables in Unified Modeling Language (UML) class diagrams and Information Engineering (IE) or Integration Definition for Information Modeling (IDEF1X) notation diagrams.

The open database diagram must have a table with a primary key.
To add a foreign key to a table:
  1. In the Palette, click Foreign Key.
  2. Click the table to which you want to add a foreign key and drag to the target table that has a primary key.
Related concepts
Class diagrams
IE and IDEF1X notation diagrams
Related tasks
Adding columns to tables
Adding primary keys to columns
Renaming data objects
Editing data objects
Related reference
Mappings between data objects and UML elements
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.