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