What I am working on figuring out is…
I want to create a Data Access Layer that is used by the Business Layer to fill it’s classes.
Example:
/BusinessLayer/
Person.cs (class)
Department.cs (class)
/DataAccessLayer/
DataAccess.cs
I am not sure what else…
Person would not have any code calling the database. You would create a new person object and then use the Data Access Layer to fill that object.
How to do this?
Is there a website that explains this with a working example? or am I thinking incorrectly?
Should I be using a DataSet? When I populate an Object from Person do I use a Generic List to have a list of them?

New Topic/Question
Reply




MultiQuote



|