A NoRM-MongoDB Repository Base Class(www.codevoyeur.com)
submitted by
zblock(90) 1 year, 11 months ago
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: ALT.NET
|Views: 257
tags:
ALT.NET another
Everyones tags:
Your Tags: