title: Linq query with many to many relations using entity framework
body: <p>I have two tables: <code>tbA</code> and <code>tbB</code> .Between them I have a relationship n to n, so a table <code>tbAB</code> was generated in the database. I am using an Entity Framework Database First, then when I mapped these tables , it does not generate a specific entity for <code>tbAB</code>. Thus , I'm not seeing how I can create a query relating the two tables if I can't call directly the<code>tbAB</code>.
  What I want to do in SQL would be as follows :</p>
  
  <pre><code> SELECT * 
   FROM tbA
   INNER JOIN tbAB 
   ON tbAB.idA = tbA.idA
   INNER JOIN tbB
   ON tbB.idB = tbAB.idB
  </code></pre>
  
  <p>That's what I'm trying to do with Linq:</p>
  
  <pre><code>  var table = (from l in db.tbA
                                              join k in db.tbB on l.? equals k.?
                                              where ?.IDCONCESSAO == objectTbB.IDCONCESSAO
                                              select l).ToList();
  </code></pre>
  
  <p>The question is how can I do this in a Linq expression ?</p>
  
  <p>Thanks in advance. </p>