6
Shouts

Atanas Hristov: Implementing and Using Repositories with NHibernate

published 861 days, 16 hours, 35 minutes ago posted by http://atanashristov.blogspot.com/http://atanashristov.blogspot.com/ 863 days, 7 hours, 59 minutes ago
Wednesday, January 06, 2010 10:12:08 AM GMT Monday, January 04, 2010 6:48:50 PM GMT

This is an example of utilizing the Repository pattern implemented with NHibernate as data access framework but keeping in mind to provide a layer of abstraction to easy switch to another data access provider (Entity Framework for example). Patterns like Approval, Finder, Persistor, etc. Connecting to SQLite in memory; SQLite in file; Postgres with FluentNHibernate.

Following the podcasts of the MVC Storefront Project at the time learning the ASP.NET MVC framework was for me really good introduction to the ideas of the Domain Driven Design (DDD).

Now, months later and still new to the DDD, but very enthusiastic, I’ll try to sketch some ideas I learned so far and in practice to implement a complete example. In particular I’ll be utilizing the Repository pattern and implement it with NHibernate as data access framework. I’m using NHibernate but I keep in mind to ...

category: Architecture | clicked: 1 | | source: atanashristov.blogspot.com | show counter code
tags: Repository, NHibernate