Sql Azure Data Sync 2.1框架工作(向现有设置添加更多表) [英] Sql Azure Data Sync 2.1 Frame Work (adding more tables to the existing setup)

查看:70
本文介绍了Sql Azure Data Sync 2.1框架工作(向现有设置添加更多表)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在sqlazure(Remote)和本地服务器之间设置了数据同步。最初我只为几张表设置了数据同步。效果很好。

I have setup data sync between sqlazure(Remote) and the local server. Initially i have set up the data sync for only few tables. It worked great.

 我正在使用数据同步2.1框架工作。几天后,我再添加了20个表到列表重新编译我的代码并尝试设置它不起作用。当我运行应用程序时,它表示范围已经存在。范围存在已经是旧的,并且最近添加的
表不在该范围内。所以,当我尝试同步时,我没有看到新表。我怎么能克服这个?从我删除azure数据库并重新创建以便在设置中修复,但同步不起作用,因为旧范围只有旧的
表。有没有办法更新范围,以便我可以添加更多的表格>如果有人可以帮助我,我将不胜感激。 

 I am using data sync 2.1 frame work. After few days i added another 20 tables to the list recompiled my code and tried setup it didn't work. When i run the application it says the scope exists already. The scope exists already is an old one and the recently added tables are not in that scope. So when i try sync i dont see the new tables. How can i overcome this? As of i dropped the azure db and recreated so it fixed in setting up, but the sync is not working because the old scope has only the old set of tables. Is there a way to update the scope so that i can add more tables going forward> I would appreciate if someone can help me on this. 

 它收到错误  "Microsoft.Synchronization.Data.DbSyncException:无法应用更改,因为  本地提供程序没有为从远程提供程序接收的以下表配置适配器"如果有人能帮助我,我会感激

 It get an error the  "Microsoft.Synchronization.Data.DbSyncException: Cannot apply changes because the  local provider does not have adapters configured for the following tables that were received from the remote provider" I would appreciate if someone can help me on this.

 谢谢,

Jay

推荐答案

您需要删除范围,重新创建并再次执行同步。


这篇关于Sql Azure Data Sync 2.1框架工作(向现有设置添加更多表)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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