Search code examples
c#sqlitedappernuget-packagesystem.data.sqlite

Nuget SQLite to use with Dapper without loading Entity Framework dependencies


In my c# application, I would like to use SQLite with Dapper (on SqliteConnection).

The problem with current nuget System.Data.SQLite version is that EntityFramework-related dependencies are also loaded, but they are not needed.


Solution

  • System.Data.SQLite.Core is the package, which contains SqliteConnection and doesn't have any dependencies to EF.