Graphics Programs Reference
In-Depth Information
Let's add these relationships to our model file. Select the
BNRAssetType
entity and then
click the
+
button in the
Relationships
section. Name this relationship
items
in the
Rela-
tionship
column. Then, select
BNRItem
from the
Destination
column. In the data model
inspector, check the box for
To-Many Relationship
(
Figure 16.8
).
Figure 16.8 Create the items relationship
Now go back to the
BNRItem
entity. Add a relationship named
assetType
and pick
BNRAssetType
as its destination. In the
Inverse
column, select
items
(
Figure 16.9
).
Figure 16.9 Create the assetType relationship