public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::HospitalServerManager.ViewModel.SurgeryViewModel)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::HospitalServerManager.ViewModel.SurgeryViewModel obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_PrimaryKey(obj.PrimaryKey, phase); this.Update_SurgeryName(obj.SurgeryName, phase); this.Update_AverageTime(obj.AverageTime, phase); this.Update_KindOfSurgery(obj.KindOfSurgery, phase); this.Update_Cost(obj.Cost, phase); this.Update_Refoundation(obj.Refoundation, phase); } } }