Does .NET 5 or 6 support Sqlite with database-first approach and .EDMX?

938 Views Asked by At

How can we migrate a .NET 4.5.2 class library with System.Data.SQlite, database-first approach and an .EDMX model file to .NET 5 or .NET 6?

1

There are 1 best solutions below

0
Alexandre Castro On

I agree with others.

You will need to use scaffolding to generate context and classes associated like below : https://www.entityframeworktutorial.net/efcore/create-model-for-existing-database-in-ef-core.aspx