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