private void RefreshFields(RegionTerritory tmp) { _TerritoryDescription = tmp.TerritoryDescription; _TerritoryInfoExtension.Refresh(this); _MyRegion = null; OnChange(); // raise an event }
public static void Refresh(RegionTerritory tmp) { TerritoryInfo tmpInfo = GetExistingByPrimaryKey(tmp.TerritoryID); if (tmpInfo == null) { return; } tmpInfo.RefreshFields(tmp); }