/// <summary> /// Creates a new <see cref="SaqQueryQueueRecord" /> object instance that is a shallow-copy of the current object instance. /// </summary> /// <returns> /// The shallow-copy of the current <see cref="SaqQueryQueueRecord" /> object instance. /// </returns> public SaqQueryQueueRecord Clone() { SaqQueryQueueRecord record = new SaqQueryQueueRecord(); record.Id = this.Id; record.AddBy = this.AddBy; record.AddDate = this.AddDate; record.ModBy = this.ModBy; record.ModDate = this.ModDate; record.ProleId = this.ProleId; record.Priority = this.Priority; record.Processed = this.Processed; record.QryId = this.QryId; record.OutputOption = this.OutputOption; record.ProcessOption = this.ProcessOption; record.EmailWhenDone = this.EmailWhenDone; record.RedoResultsIfExist = this.RedoResultsIfExist; record.EmailAddress = this.EmailAddress; record.ActType = this.ActType; record.ActDate = this.ActDate; record.ActProleId = this.ActProleId; record.ActNote = this.ActNote; record.ListId = this.ListId; record.ProfKey = this.ProfKey; record.ProfValue = this.ProfValue; record.ProfValue2 = this.ProfValue2; record.ProfValue3 = this.ProfValue3; record.FileType = this.FileType; record.PmId = this.PmId; record.DateSelected = this.DateSelected; record.Status = this.Status; record.Error = this.Error; record.ProfKeyOrg = this.ProfKeyOrg; record.ProfValueOrg = this.ProfValueOrg; record.ProfValue2Org = this.ProfValue2Org; record.ResultsType = this.ResultsType; record.ActArgId = this.ActArgId; record.ActQuestId = this.ActQuestId; record.ActPromotionId = this.ActPromotionId; record.BppLitId = this.BppLitId; record.PackId = this.PackId; return(record); }
/// <summary> /// Indicates whether the current <see cref="SaqQueryQueueRecord" /> instance is equal to another <see cref="SaqQueryQueueRecord" /> instance. /// </summary> /// <param name="that"> /// The <see cref="SaqQueryQueueRecord" /> instance to be compared against this instance. /// </param> /// <returns> /// True if both instances are considered equal; otherwise, false. /// </returns> public Boolean Equals(SaqQueryQueueRecord that) { Boolean result = true; result = result && (this.Id == that.Id); result = result && (this.ProleId.TrimOrNullify() == that.ProleId.TrimOrNullify()); result = result && (this.Priority == that.Priority); result = result && (this.Processed == that.Processed); result = result && (this.QryId == that.QryId); result = result && (this.OutputOption == that.OutputOption); result = result && (this.ProcessOption == that.ProcessOption); result = result && (this.EmailWhenDone == that.EmailWhenDone); result = result && (this.RedoResultsIfExist == that.RedoResultsIfExist); result = result && (this.EmailAddress.TrimOrNullify() == that.EmailAddress.TrimOrNullify()); result = result && (this.ActType.TrimOrNullify() == that.ActType.TrimOrNullify()); result = result && (this.ActDate == that.ActDate); result = result && (this.ActProleId.TrimOrNullify() == that.ActProleId.TrimOrNullify()); result = result && (this.ActNote.TrimOrNullify() == that.ActNote.TrimOrNullify()); result = result && (this.ListId.TrimOrNullify() == that.ListId.TrimOrNullify()); result = result && (this.ProfKey.TrimOrNullify() == that.ProfKey.TrimOrNullify()); result = result && (this.ProfValue.TrimOrNullify() == that.ProfValue.TrimOrNullify()); result = result && (this.ProfValue2.TrimOrNullify() == that.ProfValue2.TrimOrNullify()); result = result && (this.ProfValue3.TrimOrNullify() == that.ProfValue3.TrimOrNullify()); result = result && (this.FileType.TrimOrNullify() == that.FileType.TrimOrNullify()); result = result && (this.PmId.TrimOrNullify() == that.PmId.TrimOrNullify()); result = result && (this.DateSelected == that.DateSelected); result = result && (this.Status.TrimOrNullify() == that.Status.TrimOrNullify()); result = result && (this.Error.TrimOrNullify() == that.Error.TrimOrNullify()); result = result && (this.ProfKeyOrg.TrimOrNullify() == that.ProfKeyOrg.TrimOrNullify()); result = result && (this.ProfValueOrg.TrimOrNullify() == that.ProfValueOrg.TrimOrNullify()); result = result && (this.ProfValue2Org.TrimOrNullify() == that.ProfValue2Org.TrimOrNullify()); result = result && (this.ResultsType.TrimOrNullify() == that.ResultsType.TrimOrNullify()); result = result && (this.ActArgId.TrimOrNullify() == that.ActArgId.TrimOrNullify()); result = result && (this.ActQuestId.TrimOrNullify() == that.ActQuestId.TrimOrNullify()); result = result && (this.ActPromotionId.TrimOrNullify() == that.ActPromotionId.TrimOrNullify()); result = result && (this.BppLitId.TrimOrNullify() == that.BppLitId.TrimOrNullify()); result = result && (this.PackId.TrimOrNullify() == that.PackId.TrimOrNullify()); return(result); }