June 2002
Intermediate to advanced
400 pages
7h 48m
English
It is imperative that even at this stage, the model is slick enough so that it allows us to do what we want.
It is useless being half way through a project and discovering that we have to adjust the model to perform a task such as object deletion.
In the last testing exercise, we discovered that we are not allowed to delete a Forum, otherwise it would leave Topics orphaned. But in an Online Forum, a moderator would want to have the ability to delete Forums.
The way to do this is by setting a Delete Rule on the Forum.topics relationship. Select the relationship in EOModeler and open the Advanced Entity Inspector.
Then select Cascade as the Delete Rule, as in Figure 8.10.