/// <summary> /// Creates a new <see cref="ExportconfigurationsRecord" /> object instance that is a shallow-copy of the current object instance. /// </summary> /// <returns> /// The shallow-copy of the current <see cref="ExportconfigurationsRecord" /> object instance. /// </returns> public ExportconfigurationsRecord Clone() { ExportconfigurationsRecord record = new ExportconfigurationsRecord(); record.Id = this.Id; record.AddDate = this.AddDate; record.AddBy = this.AddBy; record.ModDate = this.ModDate; record.ModBy = this.ModBy; record.Title = this.Title; record.Description = this.Description; record.Type = this.Type; record.ExportXmlConfig = this.ExportXmlConfig; record.BatName = this.BatName; record.BatType = this.BatType; record.BatProcName = this.BatProcName; record.BatNotes = this.BatNotes; record.SelcoSpId = this.SelcoSpId; record.Active = this.Active; record.RunSetting = this.RunSetting; record.RunTimes = this.RunTimes; record.LastRunDate = this.LastRunDate; record.NextRunDate = this.NextRunDate; record.RunMinutes = this.RunMinutes; record.ExportType = this.ExportType; record.FtpHost = this.FtpHost; record.FtpPort = this.FtpPort; record.FtpUsername = this.FtpUsername; record.FtpPassword = this.FtpPassword; record.FtpPassive = this.FtpPassive; record.FtpProxy = this.FtpProxy; record.Day = this.Day; record.DayOfTheWeek = this.DayOfTheWeek; record.OnDay = this.OnDay; record.DestSqlConnection = this.DestSqlConnection; record.CreateIfZeroRecords = this.CreateIfZeroRecords; record.NotificationArgId = this.NotificationArgId; record.NotificationFailureArgId = this.NotificationFailureArgId; record.NotificationSenderEmail = this.NotificationSenderEmail; record.BatArgId = this.BatArgId; return(record); }
/// <summary> /// Indicates whether the current <see cref="ExportconfigurationsRecord" /> instance is equal to another <see cref="ExportconfigurationsRecord" /> instance. /// </summary> /// <param name="that"> /// The <see cref="ExportconfigurationsRecord" /> instance to be compared against this instance. /// </param> /// <returns> /// True if both instances are considered equal; otherwise, false. /// </returns> public Boolean Equals(ExportconfigurationsRecord that) { Boolean result = true; result = result && (this.Id == that.Id); result = result && (this.Title.TrimOrNullify() == that.Title.TrimOrNullify()); result = result && (this.Description.TrimOrNullify() == that.Description.TrimOrNullify()); result = result && (this.Type == that.Type); result = result && (this.ExportXmlConfig.TrimOrNullify() == that.ExportXmlConfig.TrimOrNullify()); result = result && (this.BatName.TrimOrNullify() == that.BatName.TrimOrNullify()); result = result && (this.BatType.TrimOrNullify() == that.BatType.TrimOrNullify()); result = result && (this.BatProcName.TrimOrNullify() == that.BatProcName.TrimOrNullify()); result = result && (this.BatNotes.TrimOrNullify() == that.BatNotes.TrimOrNullify()); result = result && (this.SelcoSpId.TrimOrNullify() == that.SelcoSpId.TrimOrNullify()); result = result && (this.Active == that.Active); result = result && (this.RunSetting == that.RunSetting); result = result && (this.RunTimes.TrimOrNullify() == that.RunTimes.TrimOrNullify()); result = result && (this.LastRunDate == that.LastRunDate); result = result && (this.NextRunDate == that.NextRunDate); result = result && (this.RunMinutes == that.RunMinutes); result = result && (this.ExportType == that.ExportType); result = result && (this.FtpHost.TrimOrNullify() == that.FtpHost.TrimOrNullify()); result = result && (this.FtpPort == that.FtpPort); result = result && (this.FtpUsername.TrimOrNullify() == that.FtpUsername.TrimOrNullify()); result = result && (this.FtpPassword.TrimOrNullify() == that.FtpPassword.TrimOrNullify()); result = result && (this.FtpPassive == that.FtpPassive); result = result && (this.FtpProxy.TrimOrNullify() == that.FtpProxy.TrimOrNullify()); result = result && (this.Day == that.Day); result = result && (this.DayOfTheWeek.TrimOrNullify() == that.DayOfTheWeek.TrimOrNullify()); result = result && (this.OnDay == that.OnDay); result = result && (this.DestSqlConnection.TrimOrNullify() == that.DestSqlConnection.TrimOrNullify()); result = result && (this.CreateIfZeroRecords == that.CreateIfZeroRecords); result = result && (this.NotificationArgId.TrimOrNullify() == that.NotificationArgId.TrimOrNullify()); result = result && (this.NotificationFailureArgId.TrimOrNullify() == that.NotificationFailureArgId.TrimOrNullify()); result = result && (this.NotificationSenderEmail.TrimOrNullify() == that.NotificationSenderEmail.TrimOrNullify()); result = result && (this.BatArgId.TrimOrNullify() == that.BatArgId.TrimOrNullify()); return(result); }