April 2017
Intermediate to advanced
564 pages
24h 7m
English
Now we can run migration through the Entity Framework command-line tooling support.
Go to the Command Prompt and navigate to the application's folder where your project file resides.
First, execute this command which creates the migration:
dotnet ef migrations add Initital
Initial is the name of the migration and once you run this command, it will create a Migrations folders and a file whose name will be ended with Initial.
Here is a screenshot of the Migrations folder created:

If you open the *_Initial.cs ...
Read now
Unlock full access