As addition to this question, I took Ladislav Mrnka’s answer.
The problem is that some of the entries of Table1 doesn’t show up. So I used the sql server profiler and see that the query executed used INNER JOIN where I need to do LEFT JOIN.
In Table1 I have data the dosen’t have match in Table2 and this data must appear.
How can I solve this?
In such case you cannot use Entity Splitting as asked in your former question. Entity splitting demands that both parts of the mapped entity exists and because of that it uses inner join. Either modify your database to have both parts for each entity or remove entity splitting and use
Table1andTable2directly to have control over created query.