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