/// <summary> /// Indicates whether the current <see cref="ActLinkXrefRecord" /> instance is equal to another <see cref="ActLinkXrefRecord" /> instance. /// </summary> /// <param name="that"> /// The <see cref="ActLinkXrefRecord" /> instance to be compared against this instance. /// </param> /// <returns> /// True if both instances are considered equal; otherwise, false. /// </returns> public Boolean Equals(ActLinkXrefRecord that) { Boolean result = true; result = result && (this.Id.TrimOrNullify() == that.Id.TrimOrNullify()); result = result && (this.ActId.TrimOrNullify() == that.ActId.TrimOrNullify()); result = result && (this.TableNum == that.TableNum); result = result && (this.RecId.TrimOrNullify() == that.RecId.TrimOrNullify()); result = result && (this.BomId.TrimOrNullify() == that.BomId.TrimOrNullify()); result = result && (this.Text.TrimOrNullify() == that.Text.TrimOrNullify()); return(result); }
/// <summary> /// Creates a new <see cref="ActLinkXrefRecord" /> object instance that is a shallow-copy of the current object instance. /// </summary> /// <returns> /// The shallow-copy of the current <see cref="ActLinkXrefRecord" /> object instance. /// </returns> public ActLinkXrefRecord Clone() { ActLinkXrefRecord record = new ActLinkXrefRecord(); 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.ActId = this.ActId; record.TableNum = this.TableNum; record.RecId = this.RecId; record.BomId = this.BomId; record.Text = this.Text; return(record); }