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