﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Jake commented on NHibernate vs. Entity Framework: Usage</title><description>@Diego

You actually missed Entity Frameworks biggest selling point:

Its was made and is publicly endorsed by Microsoft.</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment16</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment16</guid><pubDate>Mon, 28 Nov 2011 06:24:13 GMT</pubDate></item><item><title>Diego Mijelshon commented on NHibernate vs. Entity Framework: Usage</title><description>Here's my comparison, which I did when I started with EF 4.1: http://stackoverflow.com/questions/5101974/net-orm-comparison/5105917#5105917

Now I would add that convention-based mappers for NHibernate (ConfORM, Fluent) are much more mature and flexible.

EF's *ONLY* selling point is a more complete LINQ provider. Which, BTW, is not so great when you look at some of the horrible SQL it generates. Not to mention you can't pass entities to it (you need to pass the Id).</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment14</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment14</guid><pubDate>Sat, 26 Nov 2011 16:18:50 GMT</pubDate></item><item><title>ef commented on NHibernate vs. Entity Framework: Usage</title><description>EF is just good enough.</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment13</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment13</guid><pubDate>Sat, 26 Nov 2011 05:51:27 GMT</pubDate></item><item><title>Santos Ray Victorero, II commented on NHibernate vs. Entity Framework: Usage</title><description>Oren,

Did you marry someone from Microsoft? :-)

I just finished a couple of Windows Phone projectsI &amp; I missed NHibernate a lot since had to use Linq to Sql the only choice for Sql CE for WP7. 

I kind of agree with Jose; EF is very limited. I will not use that thing for anything serious at all. 

</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment12</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment12</guid><pubDate>Fri, 25 Nov 2011 22:26:00 GMT</pubDate></item><item><title>Fishy commented on NHibernate vs. Entity Framework: Usage</title><description>@jose thanks for the review
I tried the new EF CodeFirst and after all it is'nt that bad if you want to quickly achieve some simple basic things. For complex projects there is no other solution then NH at the moment and i don't know if the better LINQ support in EF is a real argument against NH since there are a lot of other ways for querying data. 
Documentation is always an issue and the reference at nhforge is not complete and needs a rework. For instance there is no word about the new ConfORM feature and how to use it. 
The other issue is support. Jose wrotes: "The experts of nhibernate will answer your question in minutes." In the last couple of months it is really hard to get an answer. I asked some questions with unit tests etc. but without any success. Fabio answered a lot of questions in the past, but  since he moved back from the project it is really quite in the forum.
But in the end there is alyways ligth and shade :-)</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment11</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment11</guid><pubDate>Fri, 25 Nov 2011 10:13:36 GMT</pubDate></item><item><title>Craig commented on NHibernate vs. Entity Framework: Usage</title><description>Most people who I found prefer EF of NH basically do so because Linq support is 'better'. </description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment10</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment10</guid><pubDate>Thu, 24 Nov 2011 22:39:46 GMT</pubDate></item><item><title>Matthew Shapiro commented on NHibernate vs. Entity Framework: Usage</title><description>My main production app was written with EF code-first.  At first I loved it, but the more I use it the more "gotchas" I find.  I don't really want to go through the whole thing and waste time replacing it with NHibernate (mostly  since I used EF because there was better docs for learning EF4 than NH) but I definitely would use NH over EF for any new projects.</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment9</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment9</guid><pubDate>Thu, 24 Nov 2011 14:09:06 GMT</pubDate></item><item><title>Jarle Friestad commented on NHibernate vs. Entity Framework: Usage</title><description>With nuget there is no execuse for not using NHibernate either. Add package =&gt; nhibernate =&gt; done</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment8</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment8</guid><pubDate>Thu, 24 Nov 2011 14:08:58 GMT</pubDate></item><item><title>José F. Romaniello commented on NHibernate vs. Entity Framework: Usage</title><description>I wrote a detailed review of EF 4.1 CodeFirst RC vs NHibernate when this version came out.
http://joseoncode.com/2011/03/30/entityframework-4-1-rc-code-first-review/

Basically, I won't use EF because is very limited,  and for simple things I won't use NHibernate either just ado.net (maybe dapper because it has some nice extension methods).</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment7</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment7</guid><pubDate>Thu, 24 Nov 2011 13:42:37 GMT</pubDate></item><item><title>Darren Cauthon commented on NHibernate vs. Entity Framework: Usage</title><description>I use EF when I'm in the mood to poke out my right eye.  

I use NHibernate when I'm in the mood to poke out my left eye.

</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment6</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment6</guid><pubDate>Thu, 24 Nov 2011 13:07:47 GMT</pubDate></item><item><title>Xing Yang commented on NHibernate vs. Entity Framework: Usage</title><description>Indeed NHibernate has more features and extension points, however sometimes you need to dive into the source code to find out the meaning of an interface method.</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment5</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment5</guid><pubDate>Thu, 24 Nov 2011 11:21:15 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate vs. Entity Framework: Usage</title><description>Mathieu,
Because EF is really limited in many of its capabilities.</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment4</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment4</guid><pubDate>Thu, 24 Nov 2011 11:03:39 GMT</pubDate></item><item><title>Matthieu MEZIL commented on NHibernate vs. Entity Framework: Usage</title><description>Thanks for this answer. 

"Mostly because I am able to do so much more with it." 
Do you think about your NHibernate knowledge vs your EF knowledge or do you think about some NHibernate features not supported by EF? 
If you think about features what are the top ones you think about?</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment3</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment3</guid><pubDate>Thu, 24 Nov 2011 10:55:14 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate vs. Entity Framework: Usage</title><description>Marc,
Yes, I know, we are doing some work on RacconBlog now, will be fixed soon</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment2</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment2</guid><pubDate>Thu, 24 Nov 2011 10:35:43 GMT</pubDate></item><item><title>Marc Gravell commented on NHibernate vs. Entity Framework: Usage</title><description>Unrelated to this post... your "Archive" (right hand bar) seems to be sorting by month number **as text**, hence Oct/Nov/Dec come between Jan and Feb</description><link>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment1</link><guid>http://ayende.com/137217/nhibernate-vs-entity-framework-usage#comment1</guid><pubDate>Thu, 24 Nov 2011 10:28:58 GMT</pubDate></item></channel></rss>