public void Modify(int p_RelatedPerson_OID, string p_name, string p_description) { RelatedPersonEN relatedPersonEN = null; //Initialized RelatedPersonEN relatedPersonEN = new RelatedPersonEN(); relatedPersonEN.Id = p_RelatedPerson_OID; relatedPersonEN.Name = p_name; relatedPersonEN.Description = p_description; //Call to RelatedPersonCAD _IRelatedPersonCAD.Modify(relatedPersonEN); }
public void Modify(int p_RelatedPerson_OID, string p_nif, string p_name, string p_surnames, ChroniGenNHibernate.Enumerated.Chroni.GenderEnum p_gender, Nullable <DateTime> p_birthDate, string p_address, string p_email, string p_phone, string p_photo, Nullable <DateTime> p_startDate, Nullable <DateTime> p_endDate, String p_password, bool p_active) { RelatedPersonEN relatedPersonEN = null; //Initialized RelatedPersonEN relatedPersonEN = new RelatedPersonEN(); relatedPersonEN.Identifier = p_RelatedPerson_OID; relatedPersonEN.Nif = p_nif; relatedPersonEN.Name = p_name; relatedPersonEN.Surnames = p_surnames; relatedPersonEN.Gender = p_gender; relatedPersonEN.BirthDate = p_birthDate; relatedPersonEN.Address = p_address; relatedPersonEN.Email = p_email; relatedPersonEN.Phone = p_phone; relatedPersonEN.Photo = p_photo; relatedPersonEN.StartDate = p_startDate; relatedPersonEN.EndDate = p_endDate; relatedPersonEN.Password = Utils.Util.GetEncondeMD5(p_password); relatedPersonEN.Active = p_active; //Call to RelatedPersonCAD _IRelatedPersonCAD.Modify(relatedPersonEN); }