title: Add Include Expressions dynamically
body: <p>I am using Entity Framework Core and I have the following:</p>
  
  <pre><code>String expression = "Country;User;User.Country"
  </code></pre>
  
  <p>This indicates to include Country, User and User.Country in a query:</p>
  
  <pre><code>var q = context.Jobs
            .Include(x =&gt; x.Country)
            .Include(x =&gt; x.User).ThenInclude(x =&gt; x.Country);
  </code></pre>
  
  <p>I do not know what expression will contain. I just know it will be a list of entities, with or not child entities (ex: User.Country) and I need build the Include expression. </p>
  
  <p>Is there a way to do this?</p>