sqlite-net-pcl nuget 缺少用于异步 sqlite 连接的 API

sqlite-net-pcl nuget missing the API for async sqlite connection

我正在开发一个 UWP 应用程序,但找不到此处提到的异步 API。 https://github.com/praeclarum/sqlite-net#asynchronous-api

我只安装了 sqlite-net-pcl 1.5.231 nuget。 (https://www.nuget.org/packages/sqlite-net-pcl) 我错过了什么吗?

经过我的测试,没有问题。我可以调用异步 API。请检查您是否添加了提到的SQLite.cs and SQLiteAsync.cs to your project like the Source Installation

顺便说一句,您可以按照官方文档Use a SQLite database in a UWP app在您的UWP应用程序中使用sqlite数据库。