How do I change this query to linq to sql?
Posted
by Piyush
on Stack Overflow
See other posts from Stack Overflow
or by Piyush
Published on 2010-06-17T07:33:31Z
Indexed on
2010/06/17
7:43 UTC
Read the original article
Hit count: 199
Query:
select emp.empname as Name, dep.depname as Department
from Employee as emp
inner join Department as dep on emp.depid=dep.depid
where emp.id='2'
How can I change this to linq to sql?
© Stack Overflow or respective owner