【发布时间】:2013-01-12 06:58:58
【问题描述】:
作为对我旧问题的跟进:
Dealing with primary key clashs in client database when synchronizing with the server
还有这篇博文
Part 1 – Upload Synchronization where the Client and Server Primary Keys are different
我想知道是否可以在服务器之间配置某些列 和数据库。例如,我希望服务器和客户端同步除 id 之外的所有内容。
如果我们有
客户 1:
身份证
1
2
3
4
客户端 2:
身份证
1
2
3
4
那么服务器将有:
身份证
1
2
3
4
5
6
7
8
我的想法是我需要将我的 id 列保持为身份并自动递增。
【问题讨论】:
-
您希望只指定一些列进行同步吗?
标签: c# sql-server database microsoft-sync-framework