Example #1
0
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemViewBase obj)
 {
     obj.SystemViewNameCn      = this._systemview_namecn;
     obj.SystemViewNameEn      = this._systemview_nameen;
     obj.ApplicationID         = this._application_id;
     obj.SystemViewDescription = this._systemview_description;
 }
Example #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);
            }
            SystemViewBase castObj = (SystemViewBase)obj;

            return((castObj != null) &&
                   (this._systemview_id == castObj.SystemViewID));
        }