我有点喜欢从c#中使用SQLite。Net,但我似乎找不到合适的图书馆。有吗?官方的?除了使用包装器,还有其他方法使用SQLite吗?


当前回答

由sqlite库提供的函数的基本包装器。最新版本支持sqlite库3.7.10提供的函数

SQLiteWrapper项目

其他回答

由sqlite库提供的函数的基本包装器。最新版本支持sqlite库3.7.10提供的函数

SQLiteWrapper项目

从https://system.data.sqlite.org:

System.Data.SQLite是ADO。SQLite的NET适配器。 sqlite是由Robert Simpson创建的。Robert仍然拥有此存储库上的提交特权,但不再是活动贡献者。开发和维护工作现在主要由SQLite开发团队执行。SQLite团队致力于长期支持System.Data.SQLite。

“System.Data。SQLite是原始的SQLite数据库引擎和一个完整的ADO。NET 2.0提供程序全部滚入一个混合模式程序集。它完全取代了原来的sqlite3.dll(您甚至可以将其重命名为sqlite3.dll)。与普通的混合程序集不同,它不依赖于。net运行时,因此可以独立于。net进行分发。”

它甚至支持Mono。

Microsoft.Data.Sqlite

微软现在提供Microsoft. data . SQLite作为。net的第一方SQLite解决方案,它是作为ASP. net的一部分提供的。净的核心。该许可证是Apache许可证,版本2.0。

NuGet包 在GitHub上的源回购

*免责声明:我自己还没有尝试过使用它,但是在微软文档中提供了一些关于。net Core和UWP使用它的文档。

以下是我能找到的:

managed-sqlite SQLite。净包装 System.Data.SQLite

来源:

sqlite.org 其他的海报

来自sqlite.org的人们已经接管了ADO的开发。净提供者:

在他们的主页上:

This is a fork of the popular ADO.NET 4.0 adaptor for SQLite known as System.Data.SQLite. The originator of System.Data.SQLite, Robert Simpson, is aware of this fork, has expressed his approval, and has commit privileges on the new Fossil repository. The SQLite development team intends to maintain System.Data.SQLite moving forward. Historical versions, as well as the original support forums, may still be found at http://sqlite.phxsoftware.com, though there have been no updates to this version since April of 2010.

完整的功能列表可以在他们的维基上找到。亮点包括

ADO。NET 2.0支持 完整的实体框架支持 完全支持Mono Visual Studio 2005/2008设计时支持 紧凑框架,C/ c++支持

已发布的dll可以直接从站点下载。