I have recently heard "fanboys" of different .NET ORM methodologies express strong, if not outlandish oppinions of other ORM methodologies. And frankly feel a bit in the dark.
我最近听说过不同的。net ORM方法的“粉丝”们表达了其他ORM方法的强大(如果不是古怪的话)。坦白地说,在黑暗中感觉有点。
Could you please explain the key merits of each of these .NET ORM solutions?
你能解释一下这些。net ORM解决方案的主要优点吗?
- Entity Framework
- 实体框架
- NHibernate
- NHibernate
- Subsonic
- 亚音速
- ADO.NET Datasets
- ADO。网络数据集
I have a good understanding of 1&4, and a cursory understanding of 2&3, but apparently not enough to understand the implied cultural perceptions of one towards the other.
我对1&4有很好的理解,对2&3有粗略的理解,但显然还不足以理解其中一个对另一个的隐含的文化认知。
1 个解决方案
#1
1
This type of question keeps coming up. You can read more about the different ORMs by looking at the links available from this question:
这类问题不断出现。你可以通过查看这个问题的链接来了解更多不同的orm:
NHibernate, Entity Framework, active records or linq2sql
NHibernate、实体框架、活动记录或linq2sql
These ORMs are all evolving over time and they are fairly complex so any attempt to take a snapshot of the key merits is unlikely to be worth much.
这些orm都是随时间变化的,而且它们相当复杂,因此,任何试图了解其关键优点的尝试都不太可能有多大价值。
NHibernate is the most feature rich. EFv4 is the next most feature rich (and currently about a month from actual release). Subsonic has a decent amount of breadth of features, but is lacking elsewhere (depth, community, support, etc.). EFv3.5 is not worth discussing, but at least some people seem happy with it.
NHibernate是最丰富的特性。EFv4是下一个非常丰富的特性(目前距离实际发布大约一个月)。亚音速有相当多的特性,但在其他地方却缺乏(深度、社区、支持等)。EFv3.5不值得讨论,但至少有一些人对此感到满意。
ADO.NET Datasets don't support Linq and don't support object relational mapping which are generally the key reasons you would choose an ORM instead.
ADO。NET数据集不支持Linq,也不支持对象关系映射,这通常是您选择ORM的主要原因。
#1
1
This type of question keeps coming up. You can read more about the different ORMs by looking at the links available from this question:
这类问题不断出现。你可以通过查看这个问题的链接来了解更多不同的orm:
NHibernate, Entity Framework, active records or linq2sql
NHibernate、实体框架、活动记录或linq2sql
These ORMs are all evolving over time and they are fairly complex so any attempt to take a snapshot of the key merits is unlikely to be worth much.
这些orm都是随时间变化的,而且它们相当复杂,因此,任何试图了解其关键优点的尝试都不太可能有多大价值。
NHibernate is the most feature rich. EFv4 is the next most feature rich (and currently about a month from actual release). Subsonic has a decent amount of breadth of features, but is lacking elsewhere (depth, community, support, etc.). EFv3.5 is not worth discussing, but at least some people seem happy with it.
NHibernate是最丰富的特性。EFv4是下一个非常丰富的特性(目前距离实际发布大约一个月)。亚音速有相当多的特性,但在其他地方却缺乏(深度、社区、支持等)。EFv3.5不值得讨论,但至少有一些人对此感到满意。
ADO.NET Datasets don't support Linq and don't support object relational mapping which are generally the key reasons you would choose an ORM instead.
ADO。NET数据集不支持Linq,也不支持对象关系映射,这通常是您选择ORM的主要原因。