使用 MS Sync Framework,我可以在具有不同同步范围的两个数据库之间进行同步吗?

发布于 2024-09-16 17:10:42 字数 123 浏览 2 评论 0原文

我有以下场景: 在我的系统中,两个数据存储(都是 SqlCe,或者一个是服务器)可能会定义不同的同步范围。在这种情况下,我可以同步两个数据库吗?

如果可以同步它们,将使用哪个范围?

谢谢, 阿萨夫。

I've got the following scenario:
In my system, it is possible that two data-stores (both SqlCe, or one is a server) will have different sync-scopes defined. In these circumstances, can I sync the two databases?

If it is possible to sync them, which scope will be used?

Thanks,
Assaf.

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

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

发布评论

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

评论(1

◇流星雨 2024-09-23 17:10:42

您可以在它们之间同步。创建每个同步提供程序时,请指定该特定数据库的范围。同步编排器不关心正在使用哪些范围,并且会在范围之间进行同步。

至于你的第二个问题,将使用每个数据库的本地范围。

You can sync across them. When you create each sync provider, specify the scope for that particular database. The sync orchestrator doesn't care what scopes are in use and will sync between the scopes.

As to your second question, the local scope for each database will be used.

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