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