Beispiel #1
0
 /// <summary>
 /// Clones this WorkflowActionForm object to a new WorkflowActionForm object
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="deepCopy">if set to <c>true</c> a deep copy is made. If false, only the basic entity properties are copied.</param>
 /// <returns></returns>
 public static WorkflowActionForm Clone(this WorkflowActionForm source, bool deepCopy)
 {
     if (deepCopy)
     {
         return(source.Clone() as WorkflowActionForm);
     }
     else
     {
         var target = new WorkflowActionForm();
         target.CopyPropertiesFrom(source);
         return(target);
     }
 }