Implementations of Load() and a specialized Select()
After reading Chapter 3 in the book, I don't quite understand how to implement the Load() method to load child records and a specialized Select method mentioned on the following pages.
- The last sentence on page 52, Vince mentions that we could add code to load child records in the Load as well.
- On page 67, in the last paragraph above Summary section, Vince points out that if we want to filter the records returned from database, we need to overload the Load method, then call a specialized Select method in DAL. Do I have create the new specialized Select method?
Could you please show me how to implement the two methods mentioned above? I truly appreciate for sharing your knowledge.
|