Fluent Api Include Where Clause
<p>I need to get products with cover picture. But when i add <code>pic =&gt; pic.IsCover</code> it's throw exception.Otherwise there is no problem. How can i fixed it?</p>

<p>Error:</p>

<blockquote>
  <p>The Include path expression must refer to a navigation property defined on the type. Use dotted paths for reference navigation properties and the Select operator for collection navigation properties.
  Parametre adı: path</p>
</blockquote>

<p>Thanks to all</p>

<pre><code>_db.ProdSmartSorts
    .Where(x =&gt; catIds.Contains((int)x.Product.CategoryId))
    .OrderBy(x =&gt; x.ProdSmartId)
    .Select(x =&gt; x.Product)
    .Include(p =&gt; p.Pictures.Where(pic =&gt; pic.IsCover))
    .Skip(prodCount * (pageNumber - 1))
    .Take(prodCount)
    .ToList();
</code></pre>