private void ProcessRefreshList() { foreach (Territory tmp in _RefreshTerritories) { TerritoryInfo.Refresh(tmp); if (tmp._MyRegion != null) { RegionInfo.Refresh(tmp._MyRegion); } } foreach (TerritoryEmployeeTerritory tmp in _RefreshTerritoryEmployeeTerritories) { EmployeeTerritoryInfo.Refresh(this, tmp); } }
private void ProcessRefreshList() { foreach (EmployeeTerritory tmp in _RefreshEmployeeTerritories) { EmployeeTerritoryInfo.Refresh(tmp); if (tmp._MyEmployee != null) { EmployeeInfo.Refresh(tmp._MyEmployee); } if (tmp._MyTerritory != null) { TerritoryInfo.Refresh(tmp._MyTerritory); } } }
// Default Refresh public virtual void Refresh(EmployeeTerritoryInfo tmp) { }