architect-handbook

Software Architect Handbook

View on GitHub

Foreign Key Mapping

Maps an association between objects to a foreign key reference between tables.

Overview

Objects can refer to each other directly by object references. To save these objects to a database, we need to keep these referecens.

How It Works

When to Use It

A Foreign Key Mapping can be used for almost all associations between classes.