- Add-Migration 'to create database'
- Update-Database -----For example, suppose there are many migrations applied to the database but you want to roll back to the first migration. Then execute the following command.
- update-database -TargetMigration:SchoolDB-v1
No comments:
Post a Comment