Newbee需要绝望的帮助使用Sync Framework来同步SQL Server和SQL Server Compact数据库 [英] Newbee needs desperate help uses Sync Framework to synchronize SQL Server and SQL Server Compact databases

查看:76
本文介绍了Newbee需要绝望的帮助使用Sync Framework来同步SQL Server和SQL Server Compact数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI

我是移动节目的新手。我想使用RDA,但所有微软都说RDA正在消失,所以请使用Sync Framework。好吧,我浏览了微软提供的所有示例,但是像往常一样,我无法使任何代码工作。

HI
I am brand new to mobile programming. I wanted to use RDA but all Microsoft says that RDA is going away so use the Sync Framework. Well I went through all the examples that Microsoft give but as usual I can't get any of the code to work.

我迫切需要这里。有没有关于如何使用Sync Framework的exomaples。我的意思是作为一个例子,其中:

它给出了如何

I am in desperate need here. Are there any exomaples out there on how to use the Sync Framework. And by what I mean as an example one where:
It gives a step by step instruction on how to

在设备上设置压缩数据库的分步说明

Set up the compact database on the device

从SQL Server 2008下载数据到设备上的紧凑数据库

Down load data from SQL Server 2008 to the compact databbase on device

将数据从压缩数据库上传到SQL Server 2008上的表

Upload data from the compact database to the tables on SQL Server 2008

因为我想做的一切:

将数据从sql server数据库下载到设备上的compact数据库,然后从Compact数据库上传信息设备到SQL Server数据库表。

Download data from the sql server database to the compact database on the device then upload information from the compact database on the device to the SQL Server database tables.

这听起来很基本但我找不到一个如何做到这一点的好例子。

It sounds so basic yet I can not find one good example on how to do this.

请帮助!!!

谢谢

MutlyP

推荐答案

看一下图库中的示例代码。

Take a look at the sample code from the gallery.

http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectNam e = sync& ReleaseId = 3422

这在您的方案中应该会有所帮助。您所描述的是数据库提供程序场景,您将SQL Server与SQL Ce同步,我们的产品非常支持它。

This should be helpful in your scenario. What you are describing is Database Provider scenario where you are sync'ing SQL Server with SQL Ce which is very much supported by our product.

希望这会有所帮助,

Patrick


这篇关于Newbee需要绝望的帮助使用Sync Framework来同步SQL Server和SQL Server Compact数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆