CSLA 4.0 相对于 CSLA 3.8 的新功能

发布于 2024-08-30 01:10:17 字数 43 浏览 1 评论 0原文

与 CSLA 3.8 相比,CSLA 4.0 有哪些新功能?哪一个更好?

What are new features in CSLA 4.0 over CSLA 3.8 and which one better ?

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

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

发布评论

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

评论(1

擦肩而过的背影 2024-09-06 01:10:17
  • 更改 BusinessListBase/ReadOnlyListBase/etc 以与 WPF 配合使用(可能为 Windows 窗体创建一组旧的集合类型)
    • 利用 SL4/.NET 4 功能让 SL4 类库在 .NET 4 中运行
    • 改进业务规则子系统,可能还包括使用 MEF 动态查找/加载规则方法
    • 支持 .NET 4 客户端配置文件,也可能将接口层功能拆分到单独的项目中
    • 重新设计 LINQ to CSLA,这样创建 LinqBindingList 是一个显式操作,而不是隐式操作,而且还有一个可与 WPF 一起使用的 LinqObservableCollection。
    • 删除非泛型 DataPortal 方法,从而删除 SingleCriteria 上的泛型类型参数

源上的泛型类型参数 (forums.lhotka.net

我知道 CSLA 4.0 包含相当多的重大改进。这些规则正在进行全面修改,以支持新的场景。

谢谢
-Blake Niemyjski(CodeSmith CSLA 模板 的作者)

  • Change BusinessListBase/ReadOnlyListBase/etc to work with WPF (possibly creating a legacy set of collection types for Windows Forms)
    • Take advantage of the SL4/.NET 4 ability to have SL4 class libraries run in .NET 4
    • Improve the business rules subsystem, possibly also including the use of MEF to dynamically find/load rule methods
    • Support the .NET 4 client profile, also possibly split out interface layer functionality into separate projects
    • Rework LINQ to CSLA so creating a LinqBindingList is an explicit operation, not implicit and also so there's a LinqObservableCollection for use with WPF.
    • Remove the non-generic DataPortal methods, thereby removing the generic type parameter on SingleCriteria

Source (forums.lhotka.net)

I know that CSLA 4.0 contains quite a few breaking changes for the better. The rules are getting a complete overhaul which was needed to support new scenarios.

Thanks
-Blake Niemyjski (Author of the CodeSmith CSLA Templates)

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