Add-migration EF Core Package Manager Console code example
Example 1: add migration ef core
dotnet ef migrations add InitialCreate
Example 2: add migration ef core
dotnet ef database update
Example 3: ef core update database command
update database
Example 4: .net core package that contains add-migration
Install-Package Microsoft.EntityFrameworkCore.Tools