|
Based on a response you gave me in at another sites forum, I decided to purchase your book (I got it last night). So I know that I am jumping ahead of myself with this question, but here goes. You mention a Customer class that gets/sets data in a database. I would assume then that this class is part of your data layer and that it does not contain any business logic. Does this mean that the Customer class represents a Customer database table and that Customer specific Logic might be in another class that is part of the Business Layer? In other words should I create a CustomerDB class that handles all of my Customer Database Logic and a CustomerBL class that contains business Logic for a Customer? Would these two classes be independant of each other or would the CustomerBL class contain a reference to he CustomerDB class? Normally I would wait to finish the book as a way to get these answers, but unfortunately I am in the process of designing a new system at work and no one (including me) has any experience using ASP.NET, C# and OO technologies (we are all old time structured programmers). Thanks
|