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