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