请告诉我您使用ORM框架的最大特色告诉我、框架、特色、最大

2023-09-03 12:17:34 作者:命硬

我想知道你使用ORM框架什么的最好的功能(S)功能,你会发现自己使用最?

I'm wondering what the best feature(s) of the orm framework you use and what features you find yourself using most?

什么是您选择您使用框架的原因?

What is the reason you chose the framework you use?

我只是想对它们进行比较,并在其他想知道,如果任何优惠的优势。 (这一切都非常好谷歌搜索这一点,但你不能击败第一手的用户体验!)

I'm just trying to compare them and wondered if any offers advantages over the other. (it's all very well googling this but you can't beat first hand user experiences!)

具体来说,我正在寻找一个Net框架,但仍好奇ORM /功能在其他汉语语言。

Specifically I'm looking for a .Net framework but still curious about ORM/features in other langauges.

在此先感谢!

推荐答案

我们最近刚刚通过实体框架和NHibernate之间作出决定的过程中去。虽然我最初的倾向是倾向于NHibernate的,因为有技术实际上坚持了微软的历史记录是比恒星这里在过去的几年中(例如:在第1版LINQ to SQL的,死的,或者更近的例子为MS决定放弃ASP.NET Ajax库的客户端模板,检查的这个),我们还是决定去与实体框架。

We just recently went through the process of deciding between Entity Framework and NHibernate. Although my initial propensity was to lean towards NHibernate, given that Microsoft's track record of actually sticking with a technology has been less than stellar here in the past few years (ex: Linq To SQL, dead at version 1, or for a more recent example were MS decided to ditch ASP.NET Ajax Library client templates, check this), we still decided to go with Entity Framework.

我们选择它的​​原因如下:

We chose it for the following reasons:

我们是微软唯一的店,所以它集成以及与我们现有的工具集。 我们喜欢的是它内置的建模能力与在Visual Studio 2010中。 我们喜欢的是能够反向工程数据库架构成一个实体数据模型(这是真的很酷)的功能。 我们喜欢的事实,我们需要的一切是pretty的多少可用现成的,不像NHibernate的,我们将不得不使用不同的工具做可视化建模,映射文件可以是一个痛苦的处理,在次),并没有结合起来,作为很好地与Visual Studio。

不管是不是要与实体框架是正确的选择,还有待观察。人们总是认为微软可以拉另一个LINQ to SQL的,并说,嘿,我们扔掉实体框架,比较遗憾的是,你应该去与NHibernate的机会。但是,我们决定,因为它是在2.0现在在VS 2010中,有至少一个很好的机会,这将是绕了几年。

Whether or not going with Entity Framework was the right choice remains to be seen. There's always the chance that Microsoft could pull another "Linq To SQL" and say, "Hey, we're throwing away Entity Framework, sorry about that, you should have gone with NHibernate". But we decided that since it is on 2.0 now with VS 2010, there's at least a good chance that it's going to be around for a few years.

因此​​,即使我们喜欢NHibernate的良好记录远比实体框架的好,我们去与实体框架为我上面提到的原因。

So even though we liked NHibernate's proven track record much better than Entity Framework's, we went with Entity Framework for the reasons I mentioned above.

我想你只要看一下每个工具的利弊,探讨所有的选项,并尽量作出最好的决定就可以了。

I think you just have to look at the pros and cons of each tool, examine all the options, and try to make the best decision you can.