October 2018
Beginner to intermediate
478 pages
10h 8m
English
EF Core migration files encapsulate all the steps needed to reach a database structure that conforms to your code models, but in order to apply those steps to your database, there are a few different paths that you can take:
All of the mentioned methods are good, but I will concentrate on the third option because it's the most developer-friendly and allows you to move fast as you add new features.
The DatabaseFacade object, held by the DbContext and exposed by the Database property, contains the Migrate method that runs the migration process ...
Read now
Unlock full access