[英]SQLite.Net Extensions Data insertion error on Windows Phone 8.1 Runtime project
[英]SQLite.Net PCL support / workaround for Windows Phone 8.1
我有一個WIndows Phone 8.1應用程序,我想在這里使用SQLite.Net PCL庫forked oysteinkrog: https : //github.com/oysteinkrog/SQLite.Net-PCL但是,當我試圖創建一個新的連接我沒有創建SQLiteConnectionWithLock
所需的所有屬性
我發現了這個:
var conn = new SQLiteAsyncConnection(new Func<SQLiteConnectionWithLock>(()=>new SQLiteConnectionWithLock(new SQLitePlatformWinRT(), new SQLiteConnectionString(databasePath, storeDateTimeAsTicks: false))));
但新的SQLitePlatformWinRT不適用,我似乎無法找到WP8.1的替代品
有關解決方法的任何想法嗎?
它將WinRT與手機兼容,就像他們在這里寫的那樣: 用於Windows Phone 8.1的SQLite.Net.Platform以及此評論: SQLite.Net-PCL Connection沒有找到數據庫 。 所以你不必擔心它,只能用作其他情況。
編輯:確保您手動從Windows手機8.1 WinRT sqlite.org添加sqlite3.dll。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.