ef how to add migrations code example
Example 1: entity framework migration
Update-Database
Example 2: enable migration in .net core
dotnet ef migrations add InitialCreate
Update-Database
dotnet ef migrations add InitialCreate