I have created a context of Entity Framework like below: using System;
using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; us
Try this, Go to Web config, search for
<entity framework>
Add this
<contexts> <context type="UniversityApp.Models.ProfDb , UniversityApp"> <databaseInitializer type="Your SEED , UniversityApp" /> </context>