Entity Framework - Include multiple level properties
<p>I am trying to get a table from database using entity framework.</p>

<p>The table has reference to other table which again has reference to other tables.
I know how to include other tables. And according to <a href="https://stackoverflow.com/questions/10822656/entity-framework-include-multiple-levels-of-properties/10823103#10823103">this</a> answer and this <a href="https://msdn.microsoft.com/en-us/library/gg671236%28v=vs.103%29.aspx#Anchor_1" rel="nofollow noreferrer">MSDN page</a> including multiple levels are like this:</p>

<pre><code>entity.TableLevel1.Include(tLvl1=&gt;tLvl1.TableLevel2.Select(tLvl2=&gt;tLvl2.TableLevel3));
</code></pre>

<p>But my question is, how to include another table at level 3 ?</p>

<p>This seems not to work: </p>

<pre><code>entity.TableLevel1
          .Include(tLvl1=&gt;tLvl1.TableLevel2
               .Select(tLvl2=&gt;tLvl2.TableLevel3)
               .Select(tLvl2 =&gt; tLvl2.AnotherTableLevel3);
</code></pre>