相关疑难解决方法(0)

将SQLite-net升级到SQLite.net - 创建SQLiteConnection

我以前SQLiteConnection在我的共享项目中打开了以下内容:

var conn = new SQLiteConnection("MyDb.db3");
Run Code Online (Sandbox Code Playgroud)

构造函数已更改为以下签名:

    public SQLiteConnection(ISQLitePlatform sqlitePlatform, string databasePath, bool storeDateTimeAsTicks = true, IBlobSerializer serializer = null, IDictionary<string, TableMapping> tableMappings = null, IDictionary<Type, string> extraTypeMappings = null, IContractResolver resolver = null);
    public SQLiteConnection(ISQLitePlatform sqlitePlatform, string databasePath, SQLiteOpenFlags openFlags, bool storeDateTimeAsTicks = true, IBlobSerializer serializer = null, IDictionary<string, TableMapping> tableMappings = null, IDictionary<Type, string> extraTypeMappings = null, IContractResolver resolver = null);
Run Code Online (Sandbox Code Playgroud)

我无法找到有关如何在我的共享库中实现此功能的任何示例/文档.

database-connection xamarin sqlite-net

7
推荐指数
1
解决办法
3023
查看次数

标签 统计

database-connection ×1

sqlite-net ×1

xamarin ×1