2016-05-20 92 views
1

需要SQLite连接字符串的一些帮助。我正在使用Mono.Data.Sqlite。我知道如果我的database.sqlite驻留在本地计算机中,那么连接字符串的格式是“URI=file:" + "<Directory-Path>/database.sqlite",它实际上适用于我。SQLite的连接字符串问题

但是网络位置的连接字符串的格式是什么。假设我有一些服务器上我的数据库,并给出以下参数:

Server = "swipe.example.com"; 
Username = "[email protected]"; 
Password = <Some Password>; 
DatabasePath = "swipe.example.com/database.sqlite"; 

我试图搜索论坛的几次却发现根本没有解决方案。我会很感激如果你能让我知道。

谢谢

回答