Reputation: 51
I'm pretty new to Code First EF 4.1 and NHibernate. I need to develop a ORM that must have following features.
I'm a bit confuse which one to choose. Please kindly advice.
Upvotes: 3
Views: 4405
Reputation: 8889
It might be a bit late, but I've just published a more recent comparison of NHibernate 3.x and Entity Framework 5 and 6. http://www.dennisdoomen.net/2013/03/entity-framework-56-vs-nhibernate-3.html
Upvotes: 2
Reputation: 52725
Well, here's a general comparison of features:
Regarding your needs, both EF and NH support 1, 2, 3 and 5.
Logging is a different story. EF has absolutely nothing out of the box. NH logs everything, and you can choose diffent levels, loggers, etc.
Upvotes: 4
Reputation: 838
I would go for Nhibernate. It supports all these features and is more battle-tested than EF at this point in time.
Upvotes: 3
Reputation: 13086
I use NHibernate and I think you can achieve all of your request with it.
Try look here for more info:
Deciding between NHibernate vs Entity Framework?
Upvotes: 3