public void Insert(string BranchID, string GroupName, short IsAdmin, string Desc)
        {
            SysGroup item = new SysGroup();

            item.BranchID = BranchID;

            item.GroupName = GroupName;

            item.IsAdmin = IsAdmin;

            item.Desc = Desc;


            item.Save(UserName);
        }
        public void Update(string BranchID, int GroupID, string GroupName, short IsAdmin, string Desc)
        {
            SysGroup item = new SysGroup();

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

            item.BranchID = BranchID;

            item.GroupID = GroupID;

            item.GroupName = GroupName;

            item.IsAdmin = IsAdmin;

            item.Desc = Desc;

            item.Save(UserName);
        }