Subsonic 3 的 RIA 基础 DomainService 实现?

发布于 2024-08-09 13:27:34 字数 397 浏览 2 评论 0原文

所以我对 SubSonic 和 RIA 服务都很陌生。我已经完成了 HR 应用程序的 RIA 演练,一切看起来都不错,但我不太愿意为 Subsonic 创建 DomainService 基类。

此处的示例描述了创建为你的 DAL 定制基类,但我想知道是否已经有任何东西可以为 Subsonic 3 SimpleRepository 做到这一点?

另外,应该如何处理生成与 DAL 中每个类相对应的所有 DomainService 类? T4模板?

So i'm fairly new to both SubSonic and RIA Services. I've done the RIA walkthrough for the HR app and it all looks good, but I'm not quite about creating a DomainService base class for Subsonic.

The samples here describe creating a custom base class for your DAL but I wondering if there was already anything out in the wild that did this for Subsonic 3 SimpleRepository?

Additionally how should one handle generating all the DomainService classes that correspond to each class in the DAL? T4 templates?

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

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

发布评论

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

评论(1

三寸金莲 2024-08-16 13:27:34

好吧,我已经解决了这个问题。我认为这与我实现域服务的方式有关,但自从 11 月 RIA 服务测试版发布以来,我意识到这可能与之前 7 月版本中的错误有关。

Well I have since solved this problem. I thought it was related to how I was implementing my domain service, but since the November beta release of RIA Services I've realised it was probably related to bugs in the previous July version.

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