public void Insert(string BranchID, int GroupID, int RoleID, int ParentRoleID)
        {
            SysGroupRole item = new SysGroupRole();

            item.BranchID = BranchID;

            item.GroupID = GroupID;

            item.RoleID = RoleID;

            item.ParentRoleID = ParentRoleID;


            item.Save(UserName);
        }
        public void Update(string BranchID, int GroupID, int RoleID, int ParentRoleID)
        {
            SysGroupRole item = new SysGroupRole();

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

            item.BranchID = BranchID;

            item.GroupID = GroupID;

            item.RoleID = RoleID;

            item.ParentRoleID = ParentRoleID;

            item.Save(UserName);
        }