N Hibernate or Entity Framework?

Posted by Laghaterohan under Regular Expressions on 4/6/2011 | Points: 10 | Views : 11711 | Status : [Member] | Replies : 6
Hello,
Can any one put a spot light as to which technology has a edge over other? NHibernate or EF? and which one should one prefer?


Thanks!

Best Regards,
Rohan Laghate



Responses

Posted by: SheoNarayan on: 4/6/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Rohan,

Both technologies are awesome and their own advantage and disadvantages. However as ADO.NET Entity framework is from Microsoft and there is considerable amount of enhancements in EF 4.0 and many other features and on the way in coming versions, I would suggest to go ahead with Entity Framework.

Here is a better comparison between the two technologies

http://gregdoesit.com/2009/08/nhibernate-vs-entity-framework-a-performance-test/

Hope this will help you.

Thanks


Regards,
Sheo Narayan
http://www.dotnetfunda.com

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 4/6/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Nice link sheo!!! I think entity provides more advantage!!!

Thanks
Karthik
www.f5Debug.net

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Laghaterohan on: 4/6/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks Sheo,
Nice article..however the problem with MS technology is that u cant guarantee that it will still b used 3-4 years down the line...need to be on the toe...always... :)

Best Regards,
Rohan Laghate

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 4/6/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
I don't remember I had ever laughed this much after reading any Forums post response. Rohan you ...... :)

Do not worry about Entity Framework, it is not going to expire any time soon. LINQ to SQL may go soon but ADO.NET Entity Framework will not.

Have heard that MS has put a lot of investment on it and they are very bullish on it that is why a lot of improvement is being added with every new releases.

If you have decided to go with EF, rest assured and go ahead.

Thanks
(This is my personal opinion)

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Laghaterohan on: 4/6/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks Sheo,
Nice to hear this one....and nice 'virtually' taking to u.... :) :)


Best Regards,
Rohan Laghate

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 4/6/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Sheo is exactly correct!!!

Thanks
Karthik
www.f5Debug.net

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response