MS Entity Framework VS NHibernate and its derived contribs (FluentNHibernate, Linq for NHibernate)

后端 未结 3 1957
忘掉有多难
忘掉有多难 2021-01-31 06:34

I just read this article about the Entity Framework 4 (actually version 2).

Entity Framework seems to offer a huge improvement over its first release. Thus, I have never

3条回答
  •  有刺的猬
    2021-01-31 06:45

    I know almost nothing about EF, but a quick skim of the links provided leads me to believe that EF has no equivilent to Fluent NHibernate's Automapping functionality.

    Edit: Some of the commenters pointed me to links indicating there is some automapping in EF, but it's not really clear if it's as powerful as FNH (for example, being able to automap collections of other objects).

    Personally, I love being able to design POCOs in an OO manner, and letting the tool handle all the busy work of mapping to a relational database.

    FNH still has the most powerful automapping capability, as far as I know.

    Go to Fluent NHibernate Automapping for more info.

提交回复
热议问题