How to write this linq query using extension methods?
var products = from p in db.Products
join ps in (from pss in db.ProductSpecs
where pss.spec_name== "Price"
select pss
) on p.id equals ps.product_id into temp
from t in temp.DefaultIfEmpty()
orderby t.spec_value
select p;
Thanks for help!
Get yourself a copy of LinqPad, paste the query into it, execute it and then click on the Lambda tab. It will show you the Method syntax.