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