Microsoft Sync Framework - How Does Bidirectional Sync Work?

我与影子孤独终老i 提交于 2020-01-02 08:11:35

问题


I have two clients A and B. Both clients have identical, synced local data caches.

If client A makes an offline edit to record X and then client B also offline edits record X and syncs with the server, when client A syncs with the server, the change that client B made is not reflected and no amount of bidirectional syncing makes the two clients correctly synced with the server.

Other than this, my sync app works great for deletions, additions edits etc. It's only simultaneous offline edits that destroy integrity.

I am using SQL 2005 (with the necessary SQL scripts for sync support applied)

Is there any resource that explains the nuts and bolts of how sync framework actually works and how it decides when to sync entries?


回答1:


Is there any resource that explains the nuts and bolts of how sync framework actually works and how it decides when to sync entries?

Have you looked at the Sync Framework spec? Also Steve Lasker's blog has some good tips on OCS and sync framework. He was pretty much the major driving force behind OCS and SF, although he now moved to Cloud.



来源:https://stackoverflow.com/questions/1010902/microsoft-sync-framework-how-does-bidirectional-sync-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!