📅  最后修改于: 2022-03-11 14:49:02.434000             🧑  作者: Mango
var cat_id=1; // Change this variable for your real cat_id
var query= from article in db.Articles
where article.Categories.Any(c=>c.Category_ID==cat_id)
select article;