public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::HospitalServerManager.ViewModel.DoctorViewModel)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::HospitalServerManager.ViewModel.DoctorViewModel 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_Surname(obj.Surname, phase); this.Update_AdacemicDegree(obj.AdacemicDegree, phase); this.Update_MedicalSpecialization(obj.MedicalSpecialization, phase); this.Update_EmploymentDate(obj.EmploymentDate, phase); this.Update_JobPosition(obj.JobPosition, phase); } } }