public void Modify(int p_Patient_OID, string p_name, string p_description) { PatientEN patientEN = null; //Initialized PatientEN patientEN = new PatientEN(); patientEN.Id = p_Patient_OID; patientEN.Name = p_name; patientEN.Description = p_description; //Call to PatientCAD _IPatientCAD.Modify(patientEN); }
public void Modify(int p_Patient_OID, string p_nif, bool p_active, string p_name, string p_surnames, ChroniGenNHibernate.Enumerated.Chroni.GenderEnum p_gender, Nullable <DateTime> p_birthDate, bool p_deceased, string p_address, string p_email, string p_phone, ChroniGenNHibernate.Enumerated.Chroni.MaritalStatusEnum p_maritalStatus, string p_photo, String p_password) { PatientEN patientEN = null; //Initialized PatientEN patientEN = new PatientEN(); patientEN.Identifier = p_Patient_OID; patientEN.Nif = p_nif; patientEN.Active = p_active; patientEN.Name = p_name; patientEN.Surnames = p_surnames; patientEN.Gender = p_gender; patientEN.BirthDate = p_birthDate; patientEN.Deceased = p_deceased; patientEN.Address = p_address; patientEN.Email = p_email; patientEN.Phone = p_phone; patientEN.MaritalStatus = p_maritalStatus; patientEN.Photo = p_photo; patientEN.Password = Utils.Util.GetEncondeMD5(p_password); //Call to PatientCAD _IPatientCAD.Modify(patientEN); }