BL.SeguimientoPacientes.NombrePaciente C# (CSharp) Méthode

NombrePaciente() public méthode

public NombrePaciente ( string numexp ) : string
numexp string
Résultat string
        public string NombrePaciente(string numexp) {

            long numexpe = Convert.ToInt64(numexp);

            var query = (from p in entities.pacientes
                         where p.expediente == numexpe
                         select p.nombres).First();

            return query.ToString();
        
        }