/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemDictionaryBase obj) { obj.SystemDictionaryCategoryID = this._systemdictionary_categoryid; obj.SystemDictionaryKey = this._systemdictionary_key; obj.SystemDictionaryValue = this._systemdictionary_value; obj.SystemDictionaryDesciption = this._systemdictionary_desciption; obj.SystemDictionaryOrder = this._systemdictionary_order; obj.SystemDictionaryIsEnable = this._systemdictionary_isenable; }
/// <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); } SystemDictionaryBase castObj = (SystemDictionaryBase)obj; return((castObj != null) && (this._systemdictionary_id == castObj.SystemDictionaryID)); }