public static void SeedHostDb(AbpVueAdminDemoDbContext 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 DefaultTenantBuilder(AbpVueAdminDemoDbContext context) { _context = context; }
public DefaultSettingsCreator(AbpVueAdminDemoDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(AbpVueAdminDemoDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public InitialHostDbBuilder(AbpVueAdminDemoDbContext context) { _context = context; }
public HostRoleAndUserCreator(AbpVueAdminDemoDbContext context) { _context = context; }
public DefaultLanguagesCreator(AbpVueAdminDemoDbContext context) { _context = context; }
public DefaultEditionCreator(AbpVueAdminDemoDbContext context) { _context = context; }