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

            result = result && (this.Id == that.Id);
            result = result && (this.Url.TrimOrNullify() == that.Url.TrimOrNullify());
            result = result && (this.ParentControl.TrimOrNullify() == that.ParentControl.TrimOrNullify());
            result = result && (this.Name.TrimOrNullify() == that.Name.TrimOrNullify());
            result = result && (this.Label.TrimOrNullify() == that.Label.TrimOrNullify());
            result = result && (this.CftypeId.TrimOrNullify() == that.CftypeId.TrimOrNullify());
            result = result && (this.PopupUrl.TrimOrNullify() == that.PopupUrl.TrimOrNullify());
            result = result && (this.Decimals == that.Decimals);
            result = result && (this.Page.TrimOrNullify() == that.Page.TrimOrNullify());
            result = result && (this.Table.TrimOrNullify() == that.Table.TrimOrNullify());
            return(result);
        }
        /// <summary>
        ///     Creates a new <see cref="ScreenCustomFieldRecord" /> object instance that is a shallow-copy of the current object instance.
        /// </summary>
        /// <returns>
        ///     The shallow-copy of the current <see cref="ScreenCustomFieldRecord" /> object instance.
        /// </returns>
        public ScreenCustomFieldRecord Clone()
        {
            ScreenCustomFieldRecord record = new ScreenCustomFieldRecord();

            record.Id            = this.Id;
            record.AddDate       = this.AddDate;
            record.AddBy         = this.AddBy;
            record.ModDate       = this.ModDate;
            record.ModBy         = this.ModBy;
            record.Url           = this.Url;
            record.ParentControl = this.ParentControl;
            record.Name          = this.Name;
            record.Label         = this.Label;
            record.CftypeId      = this.CftypeId;
            record.PopupUrl      = this.PopupUrl;
            record.Decimals      = this.Decimals;
            record.Page          = this.Page;
            record.Table         = this.Table;
            return(record);
        }