Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

asp.net mvc select from many to many relationship

var prod = EFModel.Products.Where(x => x.Categories.Any(c => c.ID == id));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mvc #select #relationship
ADD COMMENT
Topic
Name
8+2 =