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