Now let us look at how to create our database using Entity framework for migration, Lets look at the persistence layer, here we have the base layer of our application context and the migration also has a DbContext here inherited from the ApplicationEFDbContext.