Set DatabaseInitializerForType in config file for Custom Initializer to fire
问题 So I either get errors firing or nothing happens. I know that I have custom Entity Framework Initializer like this: using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EasyEntity { public class EasyInitializer : DropCreateDatabaseAlways<EasyContext> { protected override void Seed(EasyContext context) { List<Person> persons = new List<Person> { new Person { FirstName = "Waz", LastName = "Amattau