Ejemplo n.º 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::AdmissionsManager.Model.Doctor)newDataRoot;
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::AdmissionsManager.Model.Doctor 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_AcademicDegree(obj.AcademicDegree, phase);
             this.Update_MedicalSpecialization(obj.MedicalSpecialization, phase);
             this.Update_DateOfEmployment(obj.DateOfEmployment, phase);
             this.Update_JobPosition(obj.JobPosition, phase);
         }
     }
 }