Generate Migrations Install CLI tools for Entity Framework Core dotnet tool install --global dotnet-ef --version 10.0.1 or update dotnet tool update --global dotnet-ef --version 10.0.1 Add Migration Select Data. folder and run following command for each provider: dotnet ef migrations add <migration-name>