/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemViewItemBase obj) { obj.SystemViewItemNameEn = this._systemviewitem_nameen; obj.SystemViewItemNameCn = this._systemviewitem_namecn; obj.SystemViewItemDescription = this._systemviewitem_description; obj.SystemViewItemDisplayFormat = this._systemviewitem_displayformat; obj.SystemViewID = this._systemview_id; }
/// <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); } SystemViewItemBase castObj = (SystemViewItemBase)obj; return((castObj != null) && (this._systemviewitem_id == castObj.SystemViewItemID)); }