/// <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); }
/// <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); }
/// <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); }
partial void OnAfterCopyFrom(CustomerGroupArgs from);