如何使用MS SQL Sever连接SQLlite [英] How Connect SQLlite With MS SQL Sever

查看:178
本文介绍了如何使用MS SQL Sever连接SQLlite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的服务器正在使用MS SQL Server 2012,

我的应用程序使用SQLlite,



如何建立连接BTW SQLlite和MS SQL Server ????

My Server is having MS SQL Server 2012,
My Application use SQLlite,

How Connection Can Be establish BTW SQLlite amd MS SQL Server ????

推荐答案

一般情况下你没有。

如果你的应用程序使用SQLlite,那么它就是一个用户数据库系统。

如果您需要将该信息与多用户SQL服务器数据库集成,那么具体做什么取决于您的应用程序的使用方式。

如果它始终打开局域网并可以访问SQl​​ Server实例,然后将您的应用程序更改为使用SQLConnection,SQLCommand等对象而不是SqLite eqivilents(SQLiteConnection,SQLiteCommand等)。相当多,如果您在第一时间设计应用程序,它将保持不变。

如果不是,那么这是一项非常重要的工作。首先阅读数据库复制: MSDN [ ^ ]
You don't, generally.
If your app uses SQLlite, then it's a single user database system.
If you need to integrate that info with a multiuser SQL server DB, then exactly what to do depends on how your app is being used.
If it's always on the LAN and can access the SQl Server instance, then change you app to use SQLConnection, SQLCommand, etc. objects instead of the SqLite eqivilents (SQLiteConnection, SQLiteCommand, etc.). Pretty much, it'll work unchanged, provided you designed the app right in the first place.
If it isn't, then it's a seriously major job. Start by reading up on Database replication: MSDN[^]


这篇关于如何使用MS SQL Sever连接SQLlite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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