Esempio n. 1
0
 public DoctorViewModel(Doctor obj)
 {
     this.docObj = obj;
     this._doctorID = obj.doctorID;
     this._fullName = obj.name + " " + obj.surname;
     this._speciality = obj.speciality;
     this._roomNumber = obj.roomNumber;
     FullInfo = _fullName + ", " + _speciality;
 }
Esempio n. 2
0
 public void setDoctorNameFromDb()
 {
     Doctor temp = new Doctor();
     int employeeID = temp.getEmployeeID(this.doctorID);
     String query = String.Format("SELECT name, surname FROM Employees WHERE employeeID={0}", employeeID);
     String[,] credentials = this._database.selectQuery(query, new List<string>() { "name", "surname"});
     DoctorName = credentials[0, 0] + " " + credentials[0, 1];
 }
Esempio n. 3
0
 public void createAdmission(Patient patient, int bedNumber, Doctor doctor)
 {
 }
Esempio n. 4
0
 public void createAdmission(Patient patient, int bedNumber, Doctor doctor)
 {
 }