title: How to Get data from many-to-many relation in Entity Framework?
body: <p>I got 2 entities related to each other in a many-to-many relationship in my model.</p>
  
  <p>There's just 2 tables I know that in the db there are 3 tables in SQL I may try something like this.</p>
  
  <pre><code>select * 
  from table1 
  where table1.id in (select idTable1 from middleTable)
  </code></pre>
  
  <p>How can I do this using Entity Framework and Linq?</p>