示例#1
0
        protected override void Seed(RecipeMarket.DAL.PrzepisyContext context)
        {
            //  This method will be called after migrating to the latest version.

            //  You can use the DbSet<T>.AddOrUpdate() helper extension method
            //  to avoid creating duplicate seed data.

            InitialDb.SeedPrzepisy(context);
        }
示例#2
0
        protected override void Seed(NFC_MVC.DAL.ApplicationDbContext context)
        {
            //  This method will be called after migrating to the latest version.

            //  You can use the DbSet<T>.AddOrUpdate() helper extension method
            //  to avoid creating duplicate seed data.

            InitialDb.SeedNFC(context);
        }
示例#3
0
        protected override void Seed(BeerApp.DAL.BeerContext context)
        {
            var pas = "";

            //UNCOMMENT THIS                !!!!!!!!!!!
            InitialDb.SeedBeer(context);


            //  This method will be called after migrating to the latest version.

            //  You can use the DbSet<T>.AddOrUpdate() helper extension method
            //  to avoid creating duplicate seed data.
        }