10
shouts

Creating a common generic and extensible NHiberate Repository

published 411 days, 21 hours, 34 minutes ago posted by http://dotnetchris.wordpress.com/http://dotnetchris.wordpress.com/ 412 days, 10 hours, 35 minutes ago
Thursday, January 29, 2009 9:07:18 AM GMT Wednesday, January 28, 2009 8:06:19 PM GMT

This article shows how to implement a generic Repository pattern for NHibernate which could be applied to LINQ or other sources and how to encapsulate it to offer the flexibility of interacting directly with the database session but not exposing that to the client.

category: Architecture | clicked: 24 | | source: dotnetchris.wordpress.com | show counter code
tags: C#, Generics, NHibernate, Repository