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