/// <summary> /// 移除子用户组 /// </summary> /// <param name="group">子用户组</param> public virtual void RemoveChildGroup(UserGroup group) { ((List <UserGroup>) this.ChildGroups).Remove(group); }
/// <summary> /// 移除子用户组 /// </summary> /// <param name="group">子用户组</param> public virtual void RemoveChildGrooup(UserGroup group) { throw new System.NotImplementedException(); }
/// <summary> /// 增加子用户组 /// </summary> /// <param name="group">用户组</param> public virtual void AddChildGroup(UserGroup group) { ((List <UserGroup>) this.ChildGroups).Add(group); }