不幸的是,同步两个SQL CE 3.5数据库看起来并不那么容易……
文档非常稀疏,我不知道如何开始这里.
我的具体情况如下:
>我有一个中央SQL Server 2008.
>多个客户端连接到此服务器(其中一些仅部分连接).
>那些(部分连接的)客户端正在使用同一数据库上的多个应用程序(可能同时运行).
将客户端与中央服务器同步应该没问题.在脱机客户端上同步多个应用程序是我考虑使用多个SQL CE数据库的地方(一个用作服务器,一个用于每个应用程序实例).在将客户端与服务器同步时以及在客户端同步多个应用程序时,我确实能够使用相同的冲突解决机制.在每个客户端上安装SQL Server 2008 Express都是不行的.
有没有人有同步两个SQL CE数据库的经验?
解决方法
SqlCeSyncProvider is used to
synchronize SQL Server Compact
databases.This provider can be used to synchronize with a central server but also has the ability to synchronize with other clients,which is not possible with SqlCeClientSyncProvider. This ability enables developers to target new scenarios such as a collaboration scenario in which teams of people need to synchronize among each another in the absence of a connection to a central server.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。