Subsonic 3 的 RIA 基础 DomainService 实现?
所以我对 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我已经解决了这个问题。我认为这与我实现域服务的方式有关,但自从 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.