I´m building a web project manager in ASP.net.
So i´m using the 3-tier architecture...
I´m using an interface layer, a business layer and a database access
layer...
I need an opinion from you more experienced guys.
I have a class DBObjects that returns the correct ADO.NET object for the
database i´m using, since I want my system to be ready for any DBMS.
This class is obviously in the database access layer.
I then have a user class... This one is obviously a business class.
My doubt is:
Do this class make direct access to the DAL (Data Access Layer) and make all
the inserts, updates and selects?
Or should I have a userDB class that has all the same properties than user
and have the load and write methods for the DataBase and make the user load
and write methods delegate to the user ones???
If so I would have two classes almost identically... What should I
do?!?!?!??!?!?! heherheheheh kidding... but any help is most welcome!!!
See ya,
Bernardo Heynemann