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