C# .NET ORM SubSonic 问题
我正在为我们的 C# .NET 应用程序检查几个 ORM。对于我们想要完成的事情,像 NHibernate 或 Fluent NHibernate 这样的重量级工具对于我们想要做的事情来说似乎有点矫枉过正。像 SubSonic 这样的东西似乎很合适;某种尺寸、形状或另一种配置区域都会产生开销,问题是我们能够维持多少开销并专注于手头的应用程序任务。另外,对于 SubSonic,我有点担心作者已经一年多没有更新了?要么它相当成熟并且可以完成您想做的大部分事情,要么它已经被放弃了?这是另一个问题,保持社区工具处于最新状态。有什么想法吗?亚音速?或者同类产品?
I am checking out a couple of ORMs for our C# .NET application. For what we want to accomplish, heavier-weight ones like NHibernate or Fluent NHibernate seem like overkill, for what we want to do. Something like SubSonic seems about the right fit; there's going to be overhead in configuration areas of one size or shape or another, only how much overhead can we sustain and stay focused on the application task at hand is the question. Also, with SubSonic, I am somewhat concerned the author(s) haven't updated it in what seems like over a year? Either it is fairly mature and works for most of what you'd want to do, or it has been abandoned? Which is another concern, keeping a community tool up to date. Any thoughts? SubSonic? Or similar type product?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题似乎有一定的规律性被问到。
Subsonic 会发生什么......看起来没有进一步的发展
SubSonic 正在消亡
我不知道这是一个正确的问题。如果您试图决定使用 .NET ORM,这个问题更有用:
NHibernate、实体框架、活动记录或 linq2sql
根据您使用的 .NET 版本,实际上没有那么多好的选择。如果您使用 .NET 3.5,NHibernate 显然是最佳选择。如果您使用的是 .NET 4,请选择 NHibernate 或实体框架。
如果 NHibernate 看起来“更重”,这可能是出于以下两个原因之一:
1)入门文档/体验并不那么令人愉快
2)它实际上可以很好地解决您遇到的任何问题,因为它的功能非常丰富
事实上,Entity Framework 可以让您通过它的设计器和代码生成更快地进行,但它并不比 NHibernate 更好,并且有一个两者都有显着的学习曲线。如果您使用 .NET 4,请参阅上面的链接以获取更多帮助,以在两者之间做出选择。Subsonic
作为 ORM 就可以了。它可能适合您的需求,但 NHibernate 和 Entity Framework 都在更积极地开发中,并且似乎有更光明的未来。
This question seems to be asked with some regularity.
What happen to Subsonic...seen like no futhere development
Is SubSonic dying
I don't know that it's the right question to be asking. If you are trying to decide on a .NET ORM, this question is more useful:
NHibernate, Entity Framework, active records or linq2sql
Depending on what version of .NET you are using, there aren't really that many good choices. If you are using .NET 3.5, NHibernate is clearly the best choice. If you are using .NET 4, choose between NHibernate or Entity Framework.
If it seems like NHibernate is "heavier weight", that is likely for one of two reasons:
1) the starter documentation / experience isn't as pleasant as it could be
2) it actually does a decent job of solving any issues you would run into because it's so feature rich
The fact is that Entity Framework will get you going faster with it's designer and code generation, but it's not really better than NHibernate and there is a significant learning curve with both. See the link above for more helping deciding between the two if you are on .NET 4.
Subsonic is just okay as an ORM. It may fit your needs, but NHibernate and Entity Framework are both being more actively developed and seem to have brighter futures.