4
Shouts

A NoRM-MongoDB Repository Base Class

published 1088 days, 9 hours, 55 minutes ago posted by http://jzablocki.myopenid.com/http://jzablocki.myopenid.com/ 1091 days, 7 hours, 40 minutes ago
Tuesday, June 01, 2010 10:41:04 AM GMT Saturday, May 29, 2010 12:55:44 PM GMT

When working with data access frameworks that map .NET types to underlying persistence stores, generics can be used to provide very simple but powerful infrastructure. NHibernate, for example, makes it easy to create a base class that provides full CRUD support for any mapped type. By inheriting from this base class, a DAO or repository is able to query and modify its data source with no additional code. This article will introduce a similar pattern for working with NoRM and MongoDB.

category: Architecture | clicked: 4 | | source: www.codevoyeur.com | show counter code
tags: Generics, Mongo, NoSQL

3 comments posted.

To post your comment please login or signup