/// <summary>
        ///     Indicates whether the current <see cref="BatchXrefRecord" /> instance is equal to another <see cref="BatchXrefRecord" /> instance.
        /// </summary>
        /// <param name="that">
        ///     The <see cref="BatchXrefRecord" /> instance to be compared against this instance.
        /// </param>
        /// <returns>
        ///     True if both instances are considered equal; otherwise, false.
        /// </returns>
        public Boolean Equals(BatchXrefRecord that)
        {
            Boolean result = true;

            result = result && (this.Id == that.Id);
            result = result && (this.BatId.TrimOrNullify() == that.BatId.TrimOrNullify());
            result = result && (this.RecordId.TrimOrNullify() == that.RecordId.TrimOrNullify());
            result = result && (this.TableName.TrimOrNullify() == that.TableName.TrimOrNullify());
            result = result && (this.LinkId.TrimOrNullify() == that.LinkId.TrimOrNullify());
            result = result && (this.LinkUrl.TrimOrNullify() == that.LinkUrl.TrimOrNullify());
            result = result && (this.Status == that.Status);
            return(result);
        }
        /// <summary>
        ///     Creates a new <see cref="BatchXrefRecord" /> object instance that is a shallow-copy of the current object instance.
        /// </summary>
        /// <returns>
        ///     The shallow-copy of the current <see cref="BatchXrefRecord" /> object instance.
        /// </returns>
        public BatchXrefRecord Clone()
        {
            BatchXrefRecord record = new BatchXrefRecord();

            record.Id        = this.Id;
            record.AddDate   = this.AddDate;
            record.AddBy     = this.AddBy;
            record.ModDate   = this.ModDate;
            record.ModBy     = this.ModBy;
            record.RcvDate   = this.RcvDate;
            record.RcvFrom   = this.RcvFrom;
            record.BatId     = this.BatId;
            record.RecordId  = this.RecordId;
            record.TableName = this.TableName;
            record.LinkId    = this.LinkId;
            record.LinkUrl   = this.LinkUrl;
            record.Status    = this.Status;
            return(record);
        }