示例#1
0
        public void Insert(int RegionID, string RegionDescription)
        {
            Region item = new Region();

            item.RegionID = RegionID;

            item.RegionDescription = RegionDescription;


            item.Save(UserName);
        }
示例#2
0
        public void Update(int RegionID, string RegionDescription)
        {
            Region item = new Region();

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

            item.RegionID = RegionID;

            item.RegionDescription = RegionDescription;

            item.Save(UserName);
        }
        public void Insert(int RegionID,string RegionDescription)
        {
            Region item = new Region();

            item.RegionID = RegionID;

            item.RegionDescription = RegionDescription;

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

            item.RegionID = RegionID;

            item.RegionDescription = RegionDescription;

            item.Save(UserName);
        }