Reputation: 230028
According to this question, the most popular ORM tool for .Net is NHibernate. However, zero explanations are given. What are the compelling advantages of NHibernate over the other frameworks?
Upvotes: 0
Views: 3854
Reputation: 1
Not recommended at all for critical mission software. You'll get cryptic generated SQL, and will run crazy to do the silliest of things.
By 2012, big software factories have the explicit instruction of NOT using nHibernate for any projects. It's too risky, too hard to use and too buggy.
Every FAD has its expiration date.
Upvotes: 0
Reputation: 33
I highly recommend EntitySpaces. it's the best ORM for me, saves me tons of time and money.
I have long time suspected that site, ormbattle is a scam. And as far as i remember, that Yakunin is one of the owners or operator of ormbattle. so take it with a large grain of salt. check for yourself and don't trust strangers on the net. (except for me, of course).
Upvotes: 1
Reputation: 5875
For me, the big feature is Fluent NHibernate's Automapping which can take a reasonably complex class model, and create a relational database schema from it.
I'm not aware of any other tool - commercial or open source - that will do this.
Also, extremely powerful and configurable (which can make it arcane, alas).
Upvotes: 3
Reputation: 12489
There is plenty of reading available for you to do:
Advantages and Disadvantages of NHibernate
What differentiates Nhibernate from other ORM’s?
And a ton more links to people's opinions on the various .NET ORMs:
NHibernate, Entity Framework, active records or linq2sql
In a nutshell, NHibernate is feature rich and battle tested. It's free and open source.
Upvotes: 2
Reputation: 351506
The NHibernate website makes a pretty good case for itself:
NHibernate supports transparent persistence, your object classes don't have to follow a restrictive programming model. Persistent classes do not need to implement any interface or inherit from a special base class. This makes it possible to design the business logic using plain .NET (CLR) objects and object-oriented idiom.
For an unbiased comparison of many of the major O/RMs out there for .NET, I would recommend that you visit ORM BATTLE .NET
Upvotes: 4