Query multiple tables with LINQ, grab results to dictionary

Viewed 116

I have this simple SQL:

SELECT name, value 
FROM table1 t1, table2 t2 
WHERE t1.id = t2.id 
AND t1.id = 123

How do I convert it to LINQ in C#, so that the results are in Dictionary?

1 Answers
Related