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