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