Beispiel #1
0
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemSettingBase obj)
 {
     obj.SystemName        = this._systemname;
     obj.SystemDescription = this._systemdescription;
     obj.SystemUrl         = this._systemurl;
     obj.SystemVersion     = this._systemversion;
     obj.SystemLisence     = this._systemlisence;
 }
Beispiel #2
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);
            }
            SystemSettingBase castObj = (SystemSettingBase)obj;

            return((castObj != null) &&
                   (this._id == castObj.Id));
        }