Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
ERD To Data Model Transformation
The Entity Relationship Diagram (ERD) to Data Model transformation converts an ERD logical model to a data model targeted at the default database type, ready for generating DDL statements to run in one of the system-supported database products. Before doing the transformation, you define the common data type for each attribute and select a database type as the default database. You can then automatically generate the data modeling diagram.
The transformation uses and demonstrates support in the intermediary language for a number of database-specific concepts.
Concepts
Concept |
Definition |
See also |
---|---|---|
Table |
Mapped one-to-one onto Class elements. |
|
Column |
Mapped one-to-one onto attributes. |
|
Primary Key |
Lists all the columns involved so that they exist in the Class, and creates a Primary Key Method for them. |
|
Foreign Key |
A special sort of connector, in which the Source and Target sections list all of the columns involved so that:
|
Transform Foreign Keys |
Generalization
ERD technology can handle Generalization, as shown. Note that the copy-down inheritance is currently supported with two levels only.
Example
The ERD elements
After transformation, become the Data Model elements
Notes
Learn more