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