示例#1
0
        /// <summary>
        /// Creates a deep copy of the <see cref="CustomerGroupArgs"/>.
        /// </summary>
        /// <returns>A deep copy of the <see cref="CustomerGroupArgs"/>.</returns>
        public override object Clone()
        {
            var clone = new CustomerGroupArgs();

            clone.CopyFrom(this);
            return(clone);
        }
示例#2
0
        /// <summary>
        /// Performs a copy from another <see cref="CustomerGroupArgs"/> updating this instance.
        /// </summary>
        /// <param name="from">The <see cref="CustomerGroupArgs"/> to copy from.</param>
        public void CopyFrom(CustomerGroupArgs from)
        {
            CopyFrom((EntityBase)from);
            this.Company     = from.Company;
            this.Description = from.Description;

            this.OnAfterCopyFrom(from);
        }
示例#3
0
        /// <summary>
        /// Performs a copy from another <see cref="CustomerGroupArgs"/> updating this instance.
        /// </summary>
        /// <param name="from">The <see cref="CustomerGroupArgs"/> to copy from.</param>
        public void CopyFrom(CustomerGroupArgs from)
        {
            CopyFrom((EntityBase)from);
            CompanySid  = from.CompanySid;
            Description = from.Description;

            OnAfterCopyFrom(from);
        }
示例#4
0
 partial void OnAfterCopyFrom(CustomerGroupArgs from);