3

I have no knowledge of Entity Framework and NHibernate but definitely want to learn. I want to know how to start. Whether to first read documentation of NHibernate or the default Visual Studio Entity Framework?

Is Microsoft's Entity Framework a variant of NHibernate?

asked Nov 26, 2010 at 14:16
1
  • 4
    EF is not a variant of nHibernate, it's completely separate, but they are competing products that fill the same role. Commented Nov 26, 2010 at 15:10

2 Answers 2

7

This is personal opinion, and I must tell you I'm a huge fan of nHibernate.

I'm interested in all Microsoft's initiatives to standardize things. This include in ORM.

When they released the first version of Entity Framework, they were critized enough to call what happened The ADO.NET Entity Framework Saga . Read that blog post and all the link it points to.

Soon after that, the team leader of the project agreed that it got it wrong (I can't find his original blog post, maybe it has been removed).

Today EF framework is very close to nHibernate and I will consider it again in the future because:

  • Just like Unit Testing, MVC, Ajax, ... EF will eventually become the standard.
  • EF is commercially supported
  • nHibernate is powerful, but has only a few contributors.

While I'm too familiar with nHibernate to switch today, I would recommend you to go for Entity Framework without any hesitation.

answered Nov 26, 2010 at 14:35
3
  • Here I would recommend reading this article: realworldsa.dotnetdevelopersjournal.com/… Commented Nov 26, 2010 at 14:48
  • @RPK: I agree with what is described in the article. Commented Nov 26, 2010 at 15:11
  • @RPK the link you mention is dead. Could you give us other working link? Commented Dec 28, 2012 at 2:42
0
  1. Pick up Julia Lermans book "Entity Framework" and read it.

No, EF is not connected to nhibernate in any other way than that the two frameworks cover about the same business domain.

answered Jan 12, 2012 at 15:52

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.