Check out example codes for "query associative table ef6". It will help you in understanding the concepts better.

Code Example 1

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;

Learn ReactJs, React Native from akashmittal.com