add-migration entity framework code example
Example 1: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
Example 2: entity framework migration
dotnet ef migrations add InitialCreate
PM> add-migration MyFirstMigration
PM> Update-Database
dotnet ef migrations add InitialCreate