开发者

Occasionally connected application (SQL Server data synchronization)

开发者 https://www.devze.com 2023-03-19 11:37 出处:网络
There is a central server that is running SQL Server 2008 R2 and WinForms clients, which use SQL Server CE to cache data. Data can be changed on both the server and client side. Each user can only edi

There is a central server that is running SQL Server 2008 R2 and WinForms clients, which use SQL Server CE to cache data. Data can be changed on both the server and client side. Each user can only edit his own data and view some of the data of other users. For example, a user can create a "Contract" and upload it to the server via synchronization, other users need to see this "Contract", except for customer's contact information, etc.

What a way to synchronize data is most suitable for this tas开发者_C百科k?

Thanks in advance.


you can use Sync Framework to synchronize the local cache to a central server. You can either use the Local Database Cache Wizard in Visual Studio or code the sync yourself.

see Synchronizing SQL Server and SQL Server Compact or Programming Common Client and Server Synchronization Tasks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号