public string NumIdentidad(string numexp) { long numexpe = Convert.ToInt64(numexp); var query = (from p in entities.pacientes where p.expediente == numexpe select p.cedula).First(); return query.ToString(); }