Search code examples
.netnhibernateenterprise-library

Data Access Layer in .net


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.


Solution

  • Both

    Patterns of Enterprise Application Architecture look at the repository

    Nhibernate:

    EF 4