public void InitializeDatabase(MainContext context) { new DescriptionUpdater <MainContext>(context).UpdateDescriptions(); var initializer = new CommonContextInitializer(); initializer.InitializeDatabase(context); }
protected override void Seed(MainContext context) { new DescriptionUpdater <MainContext>(context).UpdateDescriptions(); var initializer = new CommonContextInitializer(); initializer.InitializeDatabase(context); _instance.Seed(context); base.Seed(context); }