使用 MS Sync Framework,我可以在具有不同同步范围的两个数据库之间进行同步吗?
我有以下场景: 在我的系统中,两个数据存储(都是 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在它们之间同步。创建每个同步提供程序时,请指定该特定数据库的范围。同步编排器不关心正在使用哪些范围,并且会在范围之间进行同步。
至于你的第二个问题,将使用每个数据库的本地范围。
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.