title: How to Make C# Linq Query Syntax Equivalent to Method Syntax for ThenInclude?
body: <p>I am trying to convert a Method Syntax to Query Syntax.</p>
  
  <p>Class Structure is nested like this:</p>
  
  <ol>
  <li>Property</li>
  <li>PropertyParty</li>
  <li>Party</li>
  <li>PartyMailingAddress</li>
  <li>PropertyMailingAddress </li>
  </ol>
  
  
  
  <p>It seems MethodSyntax (first one), is bringing less rows grouped together compared to Query Syntax, bringing more rows .</p>
  
  <p>How do I fix second Query syntax to be equivalent to Method Syntax?</p>
  
  <pre><code>var result = db.Property.Include(pm =&gt; pm.PropertyParty)
                      .Include(pm =&gt; pm.PropertyParty)
                      .ThenInclude(x =&gt; x.Party)
                      .ThenInclude(x =&gt; x.PartyMailingAddress)
                      .ThenInclude(x =&gt; x.PropertyMailingAddress)
                      .ToList();
  
  var testingResult = (from property in db.Property
                       join propertyParty in db.PropertyParty
                          on property.PropertyId equals propertyParty.PropertyId
                       join party in db.Party
                          on propertyParty.PartyId equals party.PartyId
                       join partyMailingAddress in db.PartyMailingAddress
                          on party.PartyId equals partyMailingAddress.PartyId
                       join propertyMailingAddress in db.PropertyMailingAddress
                          on partyMailingAddress.PartyMailingAddressId equals propertyMailingAddress.PartyMailingAddressId
                       select property).ToList();
  </code></pre>
  
  <p>*If there is no equivalent, could I grab the query results, and group them to be similar to Method Syntax?</p>
  
  <p>The Query syntax answer should Not contain ThenInclude</p>
  
  <p>Currently using Net Core 2.2</p>