Hi there,
In my datbase I have TableA, TableB and TableC
TableB has just 2 columns, the primary key of TableA and TableC, so it really defines a one to many relationship between the two tables
What i want to do using SQL is:
SELECT *
FROM TablesA a
JOIN TablesB b ON a.AID = b.AID
WHERE b.BID = 1
In the Entity Framwork is doesn't create a TablesB for me to do the join, i think because TableB only has foreign keys!
So how can i do it?