摘要:
最近,Oren Eini(也被称为Ayende Rahein)发表了一个帖子,从而引发了关于NHibernate和Entity Framework 4.0各自优点和功能的讨论,而这二者都是基于.NET的对象/关系映射框架。InfoQ对此讨论进行了深入的探究,以了解其中提到的观点。Rahien是NHibernate项目的成员之一,他对NHibernate和Entity Framework 4(EF)做了简要的比较。在称赞EF 4相比EF1.0所作出的进步之后,Rahien列举了他认为使得NHibernate成为更好的ORM解决方案的特性:批量写入——我们可以配置NHibernate,使其对数据库 阅读全文
摘要:
IntroductionNHibernate and Entity Framework are two of the most popular O/RM frameworks on the .NET world. Although they share some functionality, there are some aspects on which they are quite different. This post will describe this differences and will hopefully help you get started with the one y 阅读全文
摘要:
葡萄牙的一位开发者Ricardo Peres最近发布了一篇文章,以看起来无偏见的形式对领先的两种.NET ORM:NHibernate和Entity Framework进行了比较。我们建议考虑使用这两种框架的人都应该读下他的文章,NHibernate和Entity Framework之间的区别,另外还将指出一些关键的区别。从架构上看,NHibernate基于Java的Hibernate ORM。 Ricardo写道:在NHibernate中,工作单元和配置项以及模型实例都相互独立。 你首先会创建Configuration对象,在其中你会指定所有NHibernate设置,像要使用的数据库和语言、 阅读全文