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