我要簡化分貝。
這裏是什麼樣子:怎麼做到的(簡單嗎?)的LINQ查詢
表:
Main: Products: ID, Ref, Price,
Translation: ID, Product_ID, Language_ID, Name
Images: ID, Product_ID, Path, Index
我新手與LINQ和我試過檢索所有產品,他們的名字與LANGUAGE_ID = 1,式中指數= 1
From p In db.Products
Join t In db.Translate_Products On p.ID_Product Equals t.Product_ID
Join i In db.Images On p.ID_Product Equals i.Product_ID
Where t.Language_ID = 1 And i.Index= 0
Select p, t, i
你應該問_ 「我怎麼接受的答案」 _! ** 0滿分10 **令人印象深刻! – gdoron 2012-04-19 13:37:23
13個問題,0接受,你可能想考慮閱讀StackExchange的工作方式 – 2012-04-19 13:37:48
你是什麼意思? – blop 2012-04-19 13:38:27