3/18/19

entity framework commands


  1. Add-Migration 'to create database'
  2. 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.
  3. update-database -TargetMigration:SchoolDB-v1

No comments: