public void Insert(int?IdTrauma, int?IdPaciente, int?IdHCPrehospitalaria) { EmrRelTraumaPrehospitalarium item = new EmrRelTraumaPrehospitalarium(); item.IdTrauma = IdTrauma; item.IdPaciente = IdPaciente; item.IdHCPrehospitalaria = IdHCPrehospitalaria; item.Save(UserName); }
public void Update(int IdRelTraumaPrehospitalaria, int?IdTrauma, int?IdPaciente, int?IdHCPrehospitalaria) { EmrRelTraumaPrehospitalarium item = new EmrRelTraumaPrehospitalarium(); item.MarkOld(); item.IsLoaded = true; item.IdRelTraumaPrehospitalaria = IdRelTraumaPrehospitalaria; item.IdTrauma = IdTrauma; item.IdPaciente = IdPaciente; item.IdHCPrehospitalaria = IdHCPrehospitalaria; item.Save(UserName); }
public bool Destroy(object IdRelTraumaPrehospitalaria) { return(EmrRelTraumaPrehospitalarium.Destroy(IdRelTraumaPrehospitalaria) == 1); }