1、我们需要在共享项目的nuget中引用 sqlite-net-pcl 和 SQLitePCLRaw.core (实际上只需要下载sqlite-net-pcl,系统会自动安装后者,它们存在包依赖) GetAsyncConnection();
}
///
开源地址:https://github.com/praeclarum/sqlite-net SQLite-net提供了以下四个包: Package Description Package Address sqlite-net-pcl .NET Standard 库 https://www.nuget.org/packages/sqlite-net-pcl sqlite-net-sqlcipher 支持加密 https://www.nuget.org 安装 sqlite-net-pcl Nuget包 搜索sqlite-net-pcl,选择最新稳定版本进行安装: SQLite同步和异步方法帮助类 SQLiteHelper /// <summary