Code Voyeur
RSS
Data Access Languages MVC ORM About Roadmap Contact Site Map RSS Sample Code Presentations Snippets dll Hell .net Rate My Snippet

Articles Tagged with mongodb

A NoRM-MongoDB Repository Base Class
When working with data access frameworks that map .NET types to an underlying persistence stores, generics can be used to provide very simple but powerful infrastructure. NHibernate, for example, may be used to quickly and easily create a base class that provides full CRUD support for any mapped type. By simply inheriting from this base class, a DAO or repository is able to query and modify its data source without the need for any additional code. This article will introduce a similar pattern