最容易学习和使用.NET ORM框架? [英] Easiest to learn and use .NET ORM framework?

查看:178
本文介绍了最容易学习和使用.NET ORM框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注意:任何人都来到了这个问题,现在,介意的日期。这个问题是近4岁的信息是相对过时。根据我的经验,现在的NHibernate是比较好用的(用流利的接口),实体框架是一个合法的竞争者,而MicroORMS如小巧玲珑和海量变得很流行。

Note: Anyone coming to this question now, mind the date. This question is nearly 4 years old and the information is relatively outdated. In my experience NHibernate now is relatively easy to use (with the fluent interface), Entity Framework is a legitimate contender, and MicroORMS such as Dapper and Massive are becoming quite popular.

我们正在重新书写我们的核心Web应用程序之一,我终于拿到了所有的管理层清楚地与ORM框架来实现我们的数据访问层替换存储过程的可怕的纠结。

We are re-writing one of our core web applications and I finally got the all clear from management to replace the horrible tangle of stored procedures with an ORM framework for implementing our data access layer.

万岁我。现在,我必须选择之一。

Hooray for me. Now I have to choose one.

我打了周围一点点与以下

I have played around a little bit with the following

  • NHibernate
  • Castle ActiveRecord (We would use it to power our DTO objects)
  • Subsonic

现在我知道NHibernate的是真正的Alt.Netty选择,但问题是,我和谁一起工作,据我所知从来没有听说过它的承包商,​​和NHibernate有相当长的学习曲线的声誉。亚音速在此期间似乎是一个更简单的方法。我也是知道的实体框架但很警惕其咩接待和的LINQ到Oracle 的,但我警惕的事实,我'已经几乎没有听说过有这样的事。

Now I know that NHibernate is the true Alt.Netty choice but the problem is that I am working with contractors who as far as I know have never heard of it, and NHibernate has a reputation for quite a learning curve. Subsonic in the meantime seems like a far more straightforward approach. I also am aware of the Entities Framework but am wary of its 'meh' reception and Linq to Oracle but am wary of the fact that I've hardly heard anything about it.

所以,问题是:

  1. 是否有其他框架,我应该考虑?
  2. 你推荐哪一个对我的情况?

一些更多的考虑:

  • 当我说我有一个发挥了一下周围使用这些框架,我是认真的。我已经配置了他们,并用它们来拉一些数据,以确保它所有的作品。这是它的程度。
  • 这是Oracle数据库(正如你可能已经从包括Linq2Oracle的猜测)
  • 因为这是一个重新编写,该数据库已经存在,并且有一个稳定的架构
  • 我不是太担心性能。我们的应用程序通常提供至多几个人同时就餐。
  • 您的家伙是谁将不得不回答的问题的洪流中,我要去

我倾向于亚音速,但我很好奇什么人可能会说的话。

I'm leaning toward Subsonic, but I'm curious what people might have to say.

推荐答案

你检查出 Telerik的的OpenAccess ORM ?他们最近收购Vanatec和他们的ORM产品。它支持多种数据库平台(包括Oracle),LINQ的支持,前向和;反向映射,集成了Visual Studio的,在我看来(当然我有些偏见)是一个合适的替代品的LINQ to SQL如果是那种易用性,你所期待的。

Have you checked out Telerik's OpenAccess ORM? They recently acquired Vanatec and their ORM product. It supports multiple database platforms (including Oracle), LINQ support, forward & reverse mapping, is integrated with Visual Studio, and in my opinion (granted I am somewhat biased) is a suitable replacement for LINQ to SQL if that is the kind of "ease of use" you are looking for.

这篇关于最容易学习和使用.NET ORM框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆