如何使用 SubSonic 添加撤消功能
如何使用 SubSonic 添加撤消功能?
How I can add undo functionality with SubSonic?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何使用 SubSonic 添加撤消功能?
How I can add undo functionality with SubSonic?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
你不会得到很多答案。撤消功能的实现成本非常高且复杂。我认为 Rob 尝试过添加自动撤消功能(基于按惯例设置名称的并行表),但我认为这没有任何进展。他一直致力于将 SubSonic 引入 linq-land 和 T4-ville。
如果您正在寻找内置撤消功能的 ORM/数据对象框架,您可能需要查看 CSLA.NET。毫不奇怪,这是一个重型框架,可能需要一些繁重的工作才能将其放入您的应用程序中。无论如何,您都必须完成 SubSonic 为您所做的一些数据库工作。
You're not going to get many answers with this. Undo functionality is very costly and complex to implement. I think Rob toyed around with adding automatic undo functionality in (based on parallel tables with names set by convention), but I don't think that went anywhere. He's been spending his time on bringing SubSonic into linq-land and T4-ville.
If you're looking for an ORM/data object framework that has undo baked in, you'll probably want to check out CSLA.NET. It is, no surprise, a heavy duty framework which will probably require some heavy lifting to get it into your application. You'll have to do some of the database work SubSonic does for you, no matter what.