Exemplo n.º 1
0
        //protected override void Seed(EntityFramework.AbpZeroTemplateDbContext context)
        protected override void Seed(MyDbContext context)
        {
            MyDbContextSeeder.Seed(context);

            //context.MyAccounts.Add(new MyAccount(1, "AccountName1"));
            //context.SaveChanges();

            //context.MyAccountTwos.Add(new MyAccountTwo(1, "AccountTwoName1"));
            //context.SaveChanges();
        }
Exemplo n.º 2
0
 protected override void Seed(MyDbContext context)
 {
     MyDbContextSeeder.Seed(context);
 }