title: How to insert an existing IQueryable element to a ThenInclude method in EF Core
body: <p>How do I insert an existing <code>IQueryable</code> element in a <code>ThenInclude</code> method?</p>
  
  <pre><code>public IQueryable&lt;Store&gt; Store =&gt; GetDbSet&lt;Store&gt;()
          .Include(st =&gt; st.App)
              .ThenInclude(app =&gt; app.Client)
                  .ThenInclude(cl =&gt; cl.Country)
                      .ThenInclude(co =&gt; co.Culture)
          .Include(st =&gt; st.Features)
              .ThenInclude(this.StoreFeatures);
  
  public IQueryable&lt;StoreFeatures&gt; StoreFeatures =&gt; GetDbSet&lt;StoreFeatures&gt;()
          .Include(ft =&gt; ft.Cultures)
              .ThenInclude(ct =&gt; ct.Culture);
  </code></pre>