DataObjects.NET:一个好的(完美的、有文档的、支持的)ORM?

发布于 2024-08-28 18:09:49 字数 155 浏览 9 评论 0原文

我正在寻找 ORM 框架,先后找到了 NHibernate、Genome、L2S、Entity Framework,现在又找到了 DataObjects.NET。到目前为止,我读过的文档看起来很简单,但是你尝试过这个 ORM 吗?

DO.NET 的任何问题/错误都将得到解决:)

I am looking for ORM frameworks, came along to NHibernate, Genome, L2S, Entity Framework and now the DataObjects.NET.. So far a I read the documentation it seems pretty cabable, but have you ever tried this ORM?

Any issues/bugs with DO.NET would be approciated :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

我恋#小黄人 2024-09-04 18:09:49

我使用 DataObjects.Net v4。
它支持 VS 2010 和 .Net 4.0,它是非常好的 ORM。
它易于使用,并且会自动构建数据库,因此您无需像其他一些 ORM 那样设计数据库并将其逆向工程为类。
唯一令人烦恼的是 Web 应用程序的会话管理和切换机制。我认为目前正在开发的 4.4 版本已经解决了这个问题。

I used DataObjects.Net v4.
It supports VS 2010 and .Net 4.0 and it is really good ORM.
It's easy to use and it constructs the database automatically so you do not design the database and reverse engineer it to classes like some other ORMs.
The only thing that was so annoying about it is the Session management and switching mechanism in case of web applications. I think even this is being taken care of in version 4.4 currently under development.

聽兲甴掵 2024-09-04 18:09:49

我认为您也应该看看LLBLGen Pro。我认为这可能是最好的 .NET ORM。

I think you should take a look at LLBLGen Pro as well. I think this is probably the best .NET ORM out there.

亢潮 2024-09-04 18:09:49

除了这个问题听起来很像非正式广告这一事实之外,DataObjects.Net 还存在一个大问题——它是 GPL 或商业的双重许可,无需评估。所以答案是 - 不,我还没有尝试过,而且我不太可能尝试

我对 GPL 或双重许可产品没有任何不满(尽管出于各种原因我不喜欢它)——毕竟许可选择是版权所有者的权利。然而,我也想为我的软件保留这一权利。我正在编写商业软件,我可以毫无问题地将其作为开源发布,但要根据我选择的许可证进行。如果我要采用新的 ORM,我希望,不,我需要能够向有限的一组客户发布我的产品的 CTP 预览,以进行实际测试。这意味着我要么必须在不知道我的投资是否会给我带来好处的情况下预先为 DO.Net 挥霍资金;或者我必须根据许可证发布我的源代码,这实际上剥夺了我对应用程序的控制权,并且有可能通过将我的产品商品化来毁掉我的业务。

现在,如果有有限的评估许可证,比如说一个月的非商业使用,我可能会考虑对其进行快速试用,看看它是如何工作的。

如果一个产品想要商业采用,它需要有一种无风险的方式供早期采用者对其进行评估。

Aside from the fact that this question sound a lot like an informercial, there's a big problem with DataObjects.Net - it's dual-licensed as a GPL or commercial w/o evaluation. So the answer is - no, I have not tried it and it is quite unlikely I will try it.

I have no beef with GPL (though I do not like it for various reasons), or dual-licensed products - after all the license choice is a right to the copyright holder. However, I also want to reserve that right for my software as well. I am writing commercial software, which I have no problem releasing as open source, but under a license of my choice. If I am to adopt a new ORM, I want, nay - I need to be able to release a CTP preview of my product to a limited set of customers for real-life testing. And that would mean I either have to splurge the money for DO.Net upfront without knowing whether my investment will benefit me; or I have to release my sources under a license that effectively takes away the control over my app from me and has the potential to ruin my business by commoditizing my product.

Now, if there was a limited evaluation license, say one month noncommercial use, I might consider giving it a quick trial and see how it works.

If a product wants commercial adoption, it needs to have a risk-free way for early adopters to evaluate it.

快乐很简单 2024-09-04 18:09:49

DataObjects.NET 是否支持 SQL 标识列?我放弃了 v3,因为我找不到支持标识列的方法。

Does DataObjects.NET support SQL identity columns yet? I abandoned v3 because I couldn't find a way to support identity columns.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文