/// <summary>
        ///     Creates a new <see cref="SaqQueryStepsRecord" /> object instance that is a shallow-copy of the current object instance.
        /// </summary>
        /// <returns>
        ///     The shallow-copy of the current <see cref="SaqQueryStepsRecord" /> object instance.
        /// </returns>
        public SaqQueryStepsRecord Clone()
        {
            SaqQueryStepsRecord record = new SaqQueryStepsRecord();

            record.Id             = this.Id;
            record.AddBy          = this.AddBy;
            record.AddDate        = this.AddDate;
            record.ModBy          = this.ModBy;
            record.ModDate        = this.ModDate;
            record.QryId          = this.QryId;
            record.StepId         = this.StepId;
            record.Link           = this.Link;
            record.Order          = this.Order;
            record.ResultCount    = this.ResultCount;
            record.OrgTotal       = this.OrgTotal;
            record.RoleTotal      = this.RoleTotal;
            record.PersonTotal    = this.PersonTotal;
            record.RunTime        = this.RunTime;
            record.LinkChange     = this.LinkChange;
            record.SchedRunDate   = this.SchedRunDate;
            record.SchedRunTime   = this.SchedRunTime;
            record.CalculatedDate = this.CalculatedDate;
            record.OutputDate     = this.OutputDate;
            record.Locked         = this.Locked;
            return(record);
        }
        /// <summary>
        ///     Indicates whether the current <see cref="SaqQueryStepsRecord" /> instance is equal to another <see cref="SaqQueryStepsRecord" /> instance.
        /// </summary>
        /// <param name="that">
        ///     The <see cref="SaqQueryStepsRecord" /> instance to be compared against this instance.
        /// </param>
        /// <returns>
        ///     True if both instances are considered equal; otherwise, false.
        /// </returns>
        public Boolean Equals(SaqQueryStepsRecord that)
        {
            Boolean result = true;

            result = result && (this.Id == that.Id);
            result = result && (this.QryId == that.QryId);
            result = result && (this.StepId == that.StepId);
            result = result && (this.Link.TrimOrNullify() == that.Link.TrimOrNullify());
            result = result && (this.Order == that.Order);
            result = result && (this.ResultCount == that.ResultCount);
            result = result && (this.OrgTotal == that.OrgTotal);
            result = result && (this.RoleTotal == that.RoleTotal);
            result = result && (this.PersonTotal == that.PersonTotal);
            result = result && (this.RunTime == that.RunTime);
            result = result && (this.LinkChange == that.LinkChange);
            result = result && (this.SchedRunDate == that.SchedRunDate);
            result = result && (this.SchedRunTime == that.SchedRunTime);
            result = result && (this.CalculatedDate == that.CalculatedDate);
            result = result && (this.OutputDate == that.OutputDate);
            result = result && (this.Locked == that.Locked);
            return(result);
        }