Skip to main content

Defining a Relationship

generated description: definingarelationship1 20111

Let's assume that both of the classes participating in the relationship have already been defined (at least partially.) Now all we have to do is go to one of the classes (it doesn't matter which one) and add a property to represent one “end” of the relationship.

Using the New Property Wizard, we've added an Items property generated description: little1.gif to the TicketOrder class and clicked on the Relationship check box generated description: little2.gif. Then we press the Next button to specify more details...

FeedbackOpens in a new tab