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