What is the best way to connect and use a sqlite database from C#

前端 未结 9 899
执笔经年
执笔经年 2020-11-29 19:24

I\'ve done this before in C++ by including sqlite.h but is there a similarly easy way in C#?

相关标签:
9条回答
  • 2020-11-29 20:06

    ADO.NET 2.0 Provider for SQLite has over 200 downloads every day, so I think you are safe using that one.

    0 讨论(0)
  • 2020-11-29 20:06

    There is a list of Sqlite wrappers for .Net at http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers. From what I've heard http://sqlite.phxsoftware.com/ is quite good. This particular one lets you access Sqlite through ADO.Net just like any other database.

    0 讨论(0)
  • 2020-11-29 20:09

    There's also now this option: http://code.google.com/p/csharp-sqlite/ - a complete port of SQLite to C#.

    0 讨论(0)
提交回复
热议问题