views:

118

answers:

1

I have recently heard "fanboys" of different .NET ORM methodologies express strong, if not outlandish oppinions of other ORM methodologies. And frankly feel a bit in the dark.

Could you please explain the key merits of each of these .NET ORM solutions?

  1. Entity Framework
  2. NHibernate
  3. Subsonic
  4. ADO.NET Datasets

I have a good understanding of 1&4, and a cursory understanding of 2&3, but apparently not enough to understand the implied cultural perceptions of one towards the other.

A: 

This type of question keeps coming up. You can read more about the different ORMs by looking at the links available from this question:

http://stackoverflow.com/questions/1377236/nhibernate-entity-framework-active-records-or-linq2sql/

These ORMs are all evolving over time and they are fairly complex so any attempt to take a snapshot of the key merits is unlikely to be worth much.

NHibernate is the most feature rich. EFv4 is the next most feature rich (and currently about a month from actual release). Subsonic has a decent amount of breadth of features, but is lacking elsewhere (depth, community, support, etc.). EFv3.5 is not worth discussing, but at least some people seem happy with it.

ADO.NET Datasets don't support Linq and don't support object relational mapping which are generally the key reasons you would choose an ORM instead.

Michael Maddox
Thanks for the reference. That is a good read.
Lloyd
I would peg Mindscape LightSpeed and LLBLGen Pro as being more feature rich than EF 4, less rich than NHibernate but easier to pick up :-)
traskjd