public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::HospitalServerManager.ViewModel.DiagnosisViewModel)newDataRoot;
         return(true);
     }
     return(false);
 }
 // Update methods for each path node used in binding steps.
 private void Update_(global::HospitalServerManager.ViewModel.DiagnosisViewModel obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_PrimaryKey(obj.PrimaryKey, phase);
             this.Update_Name(obj.Name, phase);
             this.Update_FieldOfSurgery(obj.FieldOfSurgery, phase);
             this.Update_Description(obj.Description, phase);
         }
     }
 }