The example used concerns two modules, from which the ERD's are shown below.
Module Career | Module Reporting |
---|
In the module Career the entity Job has an attribute Company and in the module Reporting there is an attribute Job.Employer .Furthermore, The module Career has entity Course , the module Reporting does not contain this entity. |
Datamappings are part of a configuration module. See Data mapping on how to create a datamapping.
To make sure that
Person
,Job
andPerson.HasJobs
are automatically generated, simply press the button Generate as shown below.
After pressing the button, the screen will alter slightly:
Below the generated mapping is shown:
Career > Reporting | Reporting > Career |
---|
For the entity Person
, all attributes are mapped in the datamapping from Career to Reporting.
Also the relation Person.HasJobs
is mapped automatically.
In entity Person
, all attributes except the attribute Employer
are mapped.
The generate button can also be used after the initial datamapping. To illustrate this, we use the following scenario:
The datamapping for the attribute |
Before pressing the Generate button again, the datamapping is as follows.
After pressing the Generate button once more, the datamapping is as shown below.
In conclusion:
A datamapping can be generated over and over again:
|