ef code first migrations code example
Example 1: entity framework migration
Update-Database
Example 2: entity framework migration
Add-Migration InitialCreate
Example 3: entity framework migration
dotnet ef migrations add InitialCreate
Update-Database
Add-Migration InitialCreate
dotnet ef migrations add InitialCreate