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

            result = result && (this.Id == that.Id);
            result = result && (this.Name.TrimOrNullify() == that.Name.TrimOrNullify());
            result = result && (this.View.TrimOrNullify() == that.View.TrimOrNullify());
            result = result && (this.Proc.TrimOrNullify() == that.Proc.TrimOrNullify());
            return(result);
        }
        /// <summary>
        ///     Creates a new <see cref="IcalmessagetypeRecord" /> object instance that is a shallow-copy of the current object instance.
        /// </summary>
        /// <returns>
        ///     The shallow-copy of the current <see cref="IcalmessagetypeRecord" /> object instance.
        /// </returns>
        public IcalmessagetypeRecord Clone()
        {
            IcalmessagetypeRecord record = new IcalmessagetypeRecord();

            record.Id      = this.Id;
            record.AddDate = this.AddDate;
            record.AddBy   = this.AddBy;
            record.ModDate = this.ModDate;
            record.ModBy   = this.ModBy;
            record.Name    = this.Name;
            record.View    = this.View;
            record.Proc    = this.Proc;
            return(record);
        }