code first migrations asp.net core mvc code example
Example 1: entity framework migration
Add-Migration InitialCreate
Example 2: C# aspnet how to run a migration
dotnet ef database update
Add-Migration InitialCreate
dotnet ef database update