private void RefreshFields(TerritoryEmployeeTerritory tmp) { _EmployeeTerritoryInfoExtension.Refresh(this); _MyEmployee = null; _MyTerritory = null; OnChange(); // raise an event }
private void ProcessRefreshList() { foreach (Region tmp in _RefreshRegions) { RegionInfo.Refresh(tmp); } foreach (RegionTerritory tmp in _RefreshRegionTerritories) { TerritoryInfo.Refresh(tmp); } }
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(TerritoryInfo tmp) { }