EF 4.1
-
Hi, How can I fetch a collection of an entity with a filtered collection of children of that entity in a query not using foreach and so on. For example I have 2 entities : Student & Grade I want to fetch all Students and Grades that are more than 15
Best wishes
-
Hi, How can I fetch a collection of an entity with a filtered collection of children of that entity in a query not using foreach and so on. For example I have 2 entities : Student & Grade I want to fetch all Students and Grades that are more than 15
Best wishes
Is there an association between Student and Grade? Grade is child of Student and a Student can have multiple Grades? If so I would think a LINQ query would be easiest...
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Is there an association between Student and Grade? Grade is child of Student and a Student can have multiple Grades? If so I would think a LINQ query would be easiest...
Mark Salsbery Microsoft MVP - Visual C++ :java:
Yes Mark, there is an association between them and Grade is child of Student and a Student can have multiple Grades. Actually I want do it via LINQ query but I couldn't.
Best wishes
-
Yes Mark, there is an association between them and Grade is child of Student and a Student can have multiple Grades. Actually I want do it via LINQ query but I couldn't.
Best wishes
If you can post an example of what you tried then maybe someone here can help fix it :)
Mark Salsbery Microsoft MVP - Visual C++ :java: