Exemplo n.º 1
0
        /// <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);
            }
            SystemPrivilegeParameterBase castObj = (SystemPrivilegeParameterBase)obj;

            return((castObj != null) &&
                   (this._privilegeparameterid == castObj.PrivilegeParameterID));
        }
Exemplo n.º 2
0
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemPrivilegeParameterBase obj)
 {
     obj.RoleID       = this._roleid;
     obj.PrivilegeID  = this._privilegeid;
     obj.BizParameter = this._bizparameter;
 }