提供从 DomainService 到 DomainContext 的更新通知

发布于 2024-09-29 06:31:25 字数 227 浏览 1 评论 0原文

我需要通知 silverlight 应用程序中的 DomainContext 有关服务器端(也称为 DomainService 模型)所做的更改。

DomainService 或 RIA 服务的其他类是否提供此类通知(如事件),或者我是否必须定期调用 DomainService 上的方法来检查是否对模型进行了更改?

或者是否有任何其他最佳实践的解决方案来通知 DomainContext 有关更改的信息。

I need to inform the DomainContext in the silverlight application about changes that are made on the serverside (aka. Model of the DomainService).

Does the DomainService or other classes for RIA Services provide such notification (like Events) or do i have to call a method on the DomainService periodically to check if changes where made to the Model?

Or is there any other solution that is best-practise to notify the DomainContext about changes.

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

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

发布评论

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

评论(1

瞎闹 2024-10-06 06:31:25

您是否已考虑使用 WCF 回调

Have you already considered using WCF Callbacks?

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