/// <summary>
        /// local implementation of Equals based on unique value members
        /// </summary>
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            SystemRoleMenuRelationBase castObj = (SystemRoleMenuRelationBase)obj;

            return((castObj != null) &&
                   (this._menurole_id == castObj.MenuRoleID));
        }
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemRoleMenuRelationBase obj)
 {
     obj.MenuID = this._menu_id;
     obj.RoleID = this._role_id;
 }