Seperate business and datalayer in c#

Hi,
I am going to make a larger project, and would like to know if any of you experts know some good resources to read about how to seperate the Data Layer from the Business Layers in c#?
Thanks in advance
DofsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

softbeeCommented:
Download the "ASP.NET TimeTracker(CSVS) from MSDN. It answers all your questions and more.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Smacky311Commented:
Use SubSonic http://www.subsonicproject.com/, it automatically creates and updates your DataLayer (DAL), its free,  takes only a few hours to learn with their easy to follow training vidoes, and you don't have to spend alot of time learning/creating/updating DAL's.  Then you can concentrate on creating a Business layer (BL) which is just a set of methods to implement business needs like so:

public bool AddToShoppingCart(string item)
        {
                //Logic from DAL (built by SubSonic)
                ShoppingCartController cntrlrShoppingCart= new ShoppingCartController();
                cntrlrShoppingCart.Insert(item);
                return true;
        }
0
DofsAuthor Commented:
I am going to use NHibernate to connect to my database to make it ORM. I have read http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx where they talk a little about how to distinguise data and business layer so you don't merge them by time. But I would like to read a little more on how to do it?
Isn't SubSonic just another way to do ORM as NHIbernate does?
0
DofsAuthor Commented:
I am closing this thread.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.