部署中的Microsoft同步ADO.NET [英] Microsoft Synchronization ADO.NET in Deployment

查看:74
本文介绍了部署中的Microsoft同步ADO.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个同步应用程序,它可以为主数据库中的每个更改更新我的移动应用程序的本地数据库。最近我的主数据库从一个系统更改为另一个系统。但我的同步应用程序指向以前的数据库并仅与它同步。我试图改变app.config中的连接字符串,结果,它指向前面的db.After重新创建它完美的缓存。



我真的需要从新实现的数据库中重新创建缓存吗?生产环境是什么情况?



提前致谢



Sharath

I have a Synchronization application which updates my mobile application's local db for every change in the Main DB. Recently my Main DB is changed from one system to another system. But My synchronization application is pointing to previous DB and doing sync with it only. I tried to change the connection string in app.config, the result, it points to previous db.After recreating the cache it worked perfectly.

Do I realy need to recreate my cache from newly implemented DB? then what is the case in production environment?

Thanks in advance

Sharath

推荐答案

是的。如果连接仍在缓存中,则必须清除它或等待它自己过期并清除。
Yes. If the connection is still in the cache you'll have to clear it out or wait for it to expire and clear out on its own.


这篇关于部署中的Microsoft同步ADO.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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