Exemple #1
0
        public void InitializeDatabase(MainContext context)
        {
            new DescriptionUpdater <MainContext>(context).UpdateDescriptions();

            var initializer = new CommonContextInitializer();

            initializer.InitializeDatabase(context);
        }
Exemple #2
0
        protected override void Seed(MainContext context)
        {
            new DescriptionUpdater <MainContext>(context).UpdateDescriptions();

            var initializer = new CommonContextInitializer();

            initializer.InitializeDatabase(context);
            _instance.Seed(context);
            base.Seed(context);
        }