public override object Clone() { var clone = new TerminationReason(); clone.CopyFrom(this); return(clone); }
public void CopyFrom(TerminationReason from) { if (from == null) { throw new ArgumentNullException(nameof(from)); } CopyFrom((ReferenceDataBaseGuid)from); OnAfterCopyFrom(from); }
partial void OnAfterCopyFrom(TerminationReason from);