10.07.2015 Views

Using Data Modeler

Using Data Modeler

Using Data Modeler

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 9Many-to-Many Associations Map to Intersection TablesMapping Association Classes to Intersection TablesAn association class that links to a many-to-many association maps to an intersectiontable structure where the intersection table contains one or more additional columnsthat are not primary/foreign keys. An association class is an additional class attachedto an association that can store properties and operations shared by the twoindividual classes of the association. The reason the classes share these properties andoperations is because they cannot be stored in either of the classes. <strong>Data</strong> <strong>Modeler</strong>transforms association classes and their properties, but association class operationsare ignored by <strong>Data</strong> <strong>Modeler</strong>. In the object to data model transformation, <strong>Data</strong><strong>Modeler</strong> transforms the two classes to tables and joins them to an intersection tablewith two identifying relationships, migrating the primary keys of each individualtable to the intersection table as primary/foreign keys. Then <strong>Data</strong> <strong>Modeler</strong> adds theattributes of the association class as columns in the intersection table.20 Chapter 3 - Logical <strong>Data</strong> Modeling

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!