C# - Migrations - ASP.NET MVC with EF Core

Опубликовано: 28 Август 2019
на канале: VitoshAcademy
1,162
12

This tutorial is about implementing migrations to an MVC app. It presents the following points:

Learn about migrations
Change the connection string
Create an initial migration
Examine Up and Down methods
Learn about the data model snapshot
Apply the migration

It is the continuation of these tutorials:
C# - Get started with EF Core in an ASP.NET MVC web app (   • C# - Getting Started - ASP.NET MVC with EF...  )
C# - Implement CRUD Functionality - ASP.NET MVC with EF Core (   • C# - Implement CRUD Functionality - ASP.NE...  )
C# - Add sorting, filtering, and paging - ASP.NET MVC (   • C# - Add sorting, filtering, and paging - ...  )

VitoshAcademy.com:
https://www.vitoshacademy.com/c-using...

Microsoft.Com Tutorial:
https://docs.microsoft.com/en-us/aspn...

Initial code (GitHub):
https://github.com/Vitosh/ASP/tree/ma...
Code at the end (GitHub):
https://github.com/Vitosh/ASP/tree/ma...