/// <summary> /// Indicates whether the current <see cref="ArticlexrefRecord" /> instance is equal to another <see cref="ArticlexrefRecord" /> instance. /// </summary> /// <param name="that"> /// The <see cref="ArticlexrefRecord" /> instance to be compared against this instance. /// </param> /// <returns> /// True if both instances are considered equal; otherwise, false. /// </returns> public Boolean Equals(ArticlexrefRecord that) { Boolean result = true; result = result && (this.Id == that.Id); result = result && (this.ArtiId.TrimOrNullify() == that.ArtiId.TrimOrNullify()); result = result && (this.RelArtiId == that.RelArtiId); return(result); }
/// <summary> /// Creates a new <see cref="ArticlexrefRecord" /> object instance that is a shallow-copy of the current object instance. /// </summary> /// <returns> /// The shallow-copy of the current <see cref="ArticlexrefRecord" /> object instance. /// </returns> public ArticlexrefRecord Clone() { ArticlexrefRecord record = new ArticlexrefRecord(); record.Id = this.Id; record.AddDate = this.AddDate; record.AddBy = this.AddBy; record.ModDate = this.ModDate; record.ModBy = this.ModBy; record.ArtiId = this.ArtiId; record.RelArtiId = this.RelArtiId; return(record); }