NHibernate vs. ADO.NET Entity Framework

ado.net entity-framework nhibernate orm

Question

I don't want to jump to conclusions, but the ADO.NET Entity Framework has received some unfavorable publicity (in the shape of blog posts and a petition). Although I don't have much time for experimenting, I was wondering whether anybody has used it and had more empirical feedback.

What do you think about utilizing NHibernate, which has been around for a while and is more developed than the ADO.NET Entity Framework?

1
35
4/14/2016 8:39:53 AM

Popular Answer

Maybe NHibernate is better developed. Although it may not always be a "better" option. After using it for a while at work, I would personally choose to use virtually anything instead than NHibernate (even straight SQL, if migration were remotely feasible). It is really astounding how many error messages NHibernate throws that are meaningless (or that are meaningful but shouldn't happen), as well as some of its default behaviors (such as flushing the session once for each object returned in a Find).

Personally, I always choose to work with LINQ to SQL when dealing with databases.

13
8/20/2008 3:11:36 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow