I have two tables Serviceand Provider. Between them is a join table ServiceProviderthat has only 2 fields - one for each of the two PKs. When added to edmx, the join of the many-to-many table is abstracted and cannot be seen (as expected).
This is all right, if only I want to get providers based on this service. From this question :
it looks like the answer will be simple:
var query = from p in entities.Providers
from s in entities.Services
where s.Id == 15
select p;
but it returns ALL suppliers. What am I doing wrong here?
source
share