In this video, we end up downgrading Entity Framework to EF 6.2 due to a small bug or limitation. This will be just fine for our course.
The commands to rollback
Uninstall-Package EntityFramework -Force
and
Update-Package EntityFramework -version 6.2.0
After we get Entity Framework fixed, we need to run the commands for enabling migrations:
Enable-Migrations -EnableAutomaticMigrations
Then we run
add-migration "Initial_Identity_Migration"
And then update the database:
update-database
By the end of the video, we have our database setup and working as expected.
0 comments