/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemShortMessageBase obj) { obj.ShortMessageTitle = this._shortmessage_title; obj.ShortMessageCategory = this._shortmessage_category; obj.ShortMessageContent = this._shortmessage_content; obj.ShortMessageSender = this._shortmessage_sender; obj.ShortMessageSendDate = this._shortmessage_send_date; obj.ShortMessageReceiverID = this._shortmessage_receiver_id; obj.ShortMessageIsRead = this._shortmessage_isread; }
/// <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); } SystemShortMessageBase castObj = (SystemShortMessageBase)obj; return((castObj != null) && (this._shortmessage_id == castObj.ShortMessageID)); }
/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue( SystemShortMessageBase obj ) { obj.ShortMessageTitle = this._shortmessage_title; obj.ShortMessageCategory = this._shortmessage_category; obj.ShortMessageContent = this._shortmessage_content; obj.ShortMessageSender = this._shortmessage_sender; obj.ShortMessageSendDate = this._shortmessage_send_date; obj.ShortMessageReceiverID = this._shortmessage_receiver_id; obj.ShortMessageIsRead = this._shortmessage_isread; }