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

            result = result && (this.Id.TrimOrNullify() == that.Id.TrimOrNullify());
            result = result && (this.Name.TrimOrNullify() == that.Name.TrimOrNullify());
            result = result && (this.Length == that.Length);
            result = result && (this.Type == that.Type);
            result = result && (this.Tv1 == that.Tv1);
            result = result && (this.Tv2 == that.Tv2);
            result = result && (this.Tv3 == that.Tv3);
            result = result && (this.Tv4 == that.Tv4);
            result = result && (this.Tv1Len == that.Tv1Len);
            result = result && (this.ColName.TrimOrNullify() == that.ColName.TrimOrNullify());
            result = result && (this.TabName.TrimOrNullify() == that.TabName.TrimOrNullify());
            result = result && (this.ReadOnly == that.ReadOnly);
            result = result && (this.CodeValue3List.TrimOrNullify() == that.CodeValue3List.TrimOrNullify());
            result = result && (this.Immutable == that.Immutable);
            return(result);
        }
        /// <summary>
        ///     Creates a new <see cref="CodeHeaderRecord" /> object instance that is a shallow-copy of the current object instance.
        /// </summary>
        /// <returns>
        ///     The shallow-copy of the current <see cref="CodeHeaderRecord" /> object instance.
        /// </returns>
        public CodeHeaderRecord Clone()
        {
            CodeHeaderRecord record = new CodeHeaderRecord();

            record.Id             = this.Id;
            record.Name           = this.Name;
            record.Length         = this.Length;
            record.Type           = this.Type;
            record.Tv1            = this.Tv1;
            record.Tv2            = this.Tv2;
            record.Tv3            = this.Tv3;
            record.Tv4            = this.Tv4;
            record.Tv1Len         = this.Tv1Len;
            record.ColName        = this.ColName;
            record.TabName        = this.TabName;
            record.ReadOnly       = this.ReadOnly;
            record.CodeValue3List = this.CodeValue3List;
            record.Immutable      = this.Immutable;
            return(record);
        }