What is migration in Entity Framework?

Technology CommunityCategory: Entity FrameworkWhat is migration in Entity Framework?
VietMX Staff asked 3 years ago

Entity Framework introduced a migration tool that automatically updates the database schema when your model changes without losing any existing data or other database objects.

There are two kinds of Migration:

  • Automated Migration
  • Code-based Migration