title: Data Access Layer in .net
body: <p>I am looking for sample applications or some articles showing how to implement a data access layer using NHibernate or Entity Framework 4.0. The application contains a lot of logic with DB, but I don't want to move this logic into stored procedures or "smudge" this logic between layers (BLL and DAL). I am looking for nice examples how it could be implemented in real life application.</p>