0

I have a WINUI project with local database. When I try Migration with Package Manager Console, it's showing the following error. I had Reference of EFCore,EFcore.Tools,EFCore.Design,EFCore.Sqllite with Version 8

Exception calling ".ctor" with "1" argument(s): "The parameter 'frameworkName' cannot be an empty string. Parameter name: frameworkName"Exception calling ".ctor" with "1" argument(s): "The parameter 'frameworkName' cannot be an empty string.

Provide steps to fix the error

1
  • Could you please tell us whether you want to migrate the database to an entity class or migrate an entity class to a database? If you want to migrate the database to an entity class, you could try to use the command: Scaffold-DbContext "Data Source=E:\MyDatabase.sqlite;" Microsoft.EntityFrameworkCore.Sqlite -OutputDir Models. If you want to migrate an entity class to a database, could you please provide your dbcontext definition and the command for migration. Commented Mar 3 at 6:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.