A way to make the EF method include internal joins?

Using EF4. I have a situation where the linq query for EF with an explicit join will not work because of the many-to-many table. I am not going to split the database design according to EF, so I want to use the include method. However, this always leads to external external connections, and I need internal joins (simple ones context.Table1s.Include("Table2")where 1-to-1 or 1-to-many tables will demonstrate the problem).

Any way to force internal joins?

+3
source share
2 answers

Unable to make EF request generate requests unfortunately.

, 3 , 2 , - "". , , , , , , Books(), () .

, .Include( "" ) .

0

Source: https://habr.com/ru/post/1759193/


All Articles