Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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.
        }