To enable Code First Migrations in entity framework, use the command
Enable-Migrations
on the Package Manager Console.
You need to have a valid DbContext implementation containing your database objects managed by EF. In this example the database context will contain to objects BlogPost and Auth...