title: Using Include vs ThenInclude
body: <p>I have been experimenting a little with Entity Framework, and after facing the error below, I tried using ThenInclude to resolve it.</p>
  <blockquote>
  <p>The expression '[x].ModelA.ModelB' passed to the Include operator could not be bound</p>
  </blockquote>
  <p>But now it seems I lack some understanding of why it did solve the problem</p>
  <p>What's the difference between this:</p>
  <pre><code>.Include(x =&gt; x.ModelA.ModelB)
  </code></pre>
  <p>And this:</p>
  <pre><code>.Include(x =&gt; x.ModelA).ThenInclude(x =&gt; x.ModelB)
  </code></pre>