add migration in c# code example
Example 1: entity framework migration
Update-Database
Example 2: ef rollback migration
//EF 6.4
//PM> Update-Database -TargetMigration:"NameOfSecondToLastMigration"
Update-Database
//EF 6.4
//PM> Update-Database -TargetMigration:"NameOfSecondToLastMigration"