Object-relational mapping (ORM) is a technique for mapping object-oriented systems to relational databases.

- Stackoverflow.com Wiki
5 articles, 0 books.

This article is dedicated to discussing the latest releases of the NHibernate and Entity Framework. NHibernate is (was?) a number one ORM Framework for ages. Its feature list is growing and some things such as code-based mappings and automatic migrations have found a place in Entity Framework. Moreover, it is now open-source, so they are now accepting pull requests as well.

ORMs can be used to nicely augment working with SQL in a program, but they should not replace it

It often happens that if something is loved, it is also hated with the same power. The idea of object relational mapping fits into this concept perfectly. You will definitely come across many opposite points and fierce discussions as well as unwavering advocates and haters. So if you have ever asked whether to use ORM or not, the answer “it depends” will not be enough.

Dapper is the Open source ORM which is used to map Microsoft platform .NET classes to database as wel as it also supports complex and advanced database related operations.