I have been working in SQL and had recently started LINQ C# queries. I'm trying to write a LINQ query to find all the employees whose job's name starts with A. I want similar results to this SQL query
SQL QUERY
SELECT empno, ename, job, sal
FROM emp
WHERE job LIKE 'A%';
LINQ VERSION
from query in conn,EMPs
where query.JOB like 'A%'
select new
{
query.EMPNO, query.ENAME, query.JOB, query.SAL
}