Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Can anybody help me to convert this SQL to LINQ? thanks

$
0
0

<div>

Here is the SQL codes:

SELECT table1.PLA_ID, table1.Department_ID, table2.PLA_NAME,
table3.D_ID, table3.Section_ID
FROM table2 INNER JOIN(table3 RIGHT JOIN table1
ON table3.Department_ID = table1.Department_ID) ON
table2.PLA_ID = table1.PLA_ID
WHERE((table1.AIG_ID = 431)) AND table1.Distribution_Code = 'A'
ORDER BY table2.PLA_NAME, table3.D_ID

</div>


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>