Using EF6 with SQLite on dotnet core
· 2 min read
In this post we will see how to use EF6 (not EF Core) in a .NET Core application with SQLite. Why we would like to do this? Maybe we are migrating a project from the full framework to .NET Core but we are not ready to migrate also EF6 to EF Core. I will not show how to work with migrations.
First of all, we need to install two packages in our project:
- System.Data.SQLite.EF6
- System.Data.SQLite