public static void SeedHostDb(AbpCoreDemoDbContext context) { context.SuppressAutoSetTenantId = true; //Host seed new InitialHostDbBuilder(context).Create(); //Default tenant seed (in host database). new DefaultTenantBuilder(context).Create(); new TenantRoleAndUserBuilder(context, 1).Create(); }
public HostRoleAndUserCreator(AbpCoreDemoDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(AbpCoreDemoDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultEditionCreator(AbpCoreDemoDbContext context) { _context = context; }
public InitialHostDbBuilder(AbpCoreDemoDbContext context) { _context = context; }
public DefaultSettingsCreator(AbpCoreDemoDbContext context) { _context = context; }
public DefaultTenantBuilder(AbpCoreDemoDbContext context) { _context = context; }
public DefaultLanguagesCreator(AbpCoreDemoDbContext context) { _context = context; }