예제 #1
0
 private void RefreshFields(RegionTerritory tmp)
 {
     _TerritoryDescription = tmp.TerritoryDescription;
     _TerritoryInfoExtension.Refresh(this);
     _MyRegion = null;
     OnChange();            // raise an event
 }
예제 #2
0
        public static void Refresh(RegionTerritory tmp)
        {
            TerritoryInfo tmpInfo = GetExistingByPrimaryKey(tmp.TerritoryID);

            if (tmpInfo == null)
            {
                return;
            }
            tmpInfo.RefreshFields(tmp);
        }