title: EF Core conditional include
body: <p>I have a company entity with a one to many relationship to order entities.</p>
  <p>An order can be anonymous, in which case the related company should not be loaded when querying the orders.</p>
  <p>The current format creates an IQueryable and then adds filters to it as follows:</p>
  <pre><code>IQueryable&lt;Order&gt; queryable = ...
  ...
  if (includeCompany is not null and true)
      {
          queryable = queryable.Include(o =&gt; o.Company);
      }
  
  if (includeAddress is not null and true)
  ...
  </code></pre>
  <p>Can I condition the include to use the order's isAnonymous bool in a single query, as to only include the company entity for the orders that are not anonymous?</p>