2016-05-20 137 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"; 

我試圖搜索論壇的幾次卻發現根本沒有解決方案。我會很感激如果你能讓我知道。

謝謝

回答