public void Insert(string TerritoryID, string TerritoryDescription, int RegionID)
        {
            Territory item = new Territory();

            item.TerritoryID = TerritoryID;

            item.TerritoryDescription = TerritoryDescription;

            item.RegionID = RegionID;


            item.Save(UserName);
        }
        public void Update(string TerritoryID, string TerritoryDescription, int RegionID)
        {
            Territory item = new Territory();

            item.MarkOld();
            item.IsLoaded = true;

            item.TerritoryID = TerritoryID;

            item.TerritoryDescription = TerritoryDescription;

            item.RegionID = RegionID;

            item.Save(UserName);
        }
        public void Insert(string TerritoryID,string TerritoryDescription,int RegionID)
        {
            Territory item = new Territory();

            item.TerritoryID = TerritoryID;

            item.TerritoryDescription = TerritoryDescription;

            item.RegionID = RegionID;

            item.Save(UserName);
        }
        public void Update(string TerritoryID,string TerritoryDescription,int RegionID)
        {
            Territory item = new Territory();
            item.MarkOld();
            item.IsLoaded = true;

            item.TerritoryID = TerritoryID;

            item.TerritoryDescription = TerritoryDescription;

            item.RegionID = RegionID;

            item.Save(UserName);
        }