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