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