In chapter 3, "Creating the Application Infrastructure," you created your first set of business objects, which you used to retrieve data for the application's regions. If you remember the object model presented in Chapter 3 (included in Figure 7-1 for reference), then you will notice the Territory object's dependency on the Region object.
Figure 7-1: NorthwindTraders application's user-centric physical object model
You saw the effect of this design decision on your application and how it affects the abilities of your application. In this chapter you will see how to code this type of relationship between objects.
Note | There are a number of excellent books on objects and object-oriented relationships. Some of the best books are part of the Addison-Wesley Object Technology Series. The book that I have found most useful in understanding object theory is The Art Of Objects: Object-Oriented Design and Architecture by Yun-Tung Lau (Addison-Wesley, 2000). |