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