Thanks so much. Now all I have to do is to convince my boss.
The interesting thing is that my original design matched your design. For each database table, I had 3 classes; an entity class, an entity collection class and a manager class which handled all CRUD operations on the entity classes.
My boss shot down this design because he felt that with typed datasets we could develop our system faster than by using business classes. He wants to either bypass the business layer altogether or to extend the functionality of the typed dataset by adding
our business rules to the typed datasets by creating partial classes on the data tables within the typed dataset.
mikener
Member
534 Points
238 Posts
Re: Data Access Design Question
Apr 20, 2006 06:37 PM|LINK
Thanks so much. Now all I have to do is to convince my boss.
The interesting thing is that my original design matched your design. For each database table, I had 3 classes; an entity class, an entity collection class and a manager class which handled all CRUD operations on the entity classes.
My boss shot down this design because he felt that with typed datasets we could develop our system faster than by using business classes. He wants to either bypass the business layer altogether or to extend the functionality of the typed dataset by adding our business rules to the typed datasets by creating partial classes on the data tables within the typed dataset.
Thanks again.