Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #query #associative #table
ADD COMMENT
Topic
Name
5+7 =