Association Transformation

Association defined between entity classes will be transformed into reference keys or reference tables. Associations with Value type classes as target or source will be ignored.

Transformation rules differ according to the type of the association:

For most O/R Mapping frameworks, one unidirectional one-to-many association (see One-to-Many Association Mapping Strategy) will usually be mapped to a middle table and two references navigating from the middle table to the tables mapped by the two entity classes.

Note: The minimal multiplicity of association ends can affect the Mandatory property of the generated reference keys: