Answers for "c# ef6 how to query many to many relationships"

C#
0

query associative table ef6

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;
Posted by: Guest on March-17-2020

Code answers related to "c# ef6 how to query many to many relationships"

C# Answers by Framework

Browse Popular Code Answers by Language