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