beautypg.com

Using the advanced relationship inspector, Using the advanced relationship inspector 102 – Apple WebObjects 3.5 User Manual

Page 102

background image

Chapter 3

Creating a WebObjects Database Application

102

At this point your model has all the relationships it needs. The Diagram View
gives you an overview of the entities in the model and their relationships to
other entities.

You can also use the Diagram View to edit your model. Double-click an attribute
or relationship to change its name. To create a relationship and its inverse,
Control-drag from the relationship’s source attribute to its destination attribute.

Using the Advanced Relationship Inspector

There are several additional settings you use to configure a relationship’s
referential integrity rules. For these, use the Advanced Relationship Inspector.

1. Inspect Movie’s

movieRoles

relationship.

2. In the Inspector, click the Advanced Relationship button.

Advanced Relationship button.

This should be selected.

This box should be checked.