/// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemPrivilegeInRolesBase obj)
 {
     obj.RoleID             = this._role_id;
     obj.PrivilegeID        = this._privilege_id;
     obj.PrivilegeRoleValue = this._privilegerolevalue;
     obj.EnableType         = this._enabletype;
     obj.CreateTime         = this._createtime;
     obj.UpdateTime         = this._updatetime;
     obj.ExpiryTime         = this._expirytime;
     obj.EnableParameter    = this._enableparameter;
 }
        /// <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);
            }
            SystemPrivilegeInRolesBase castObj = (SystemPrivilegeInRolesBase)obj;

            return((castObj != null) &&
                   (this._privilegeroleid == castObj.PrivilegeRoleID));
        }