title: Differences between two linq query result
body: <p>I want to learn why these two queries return different results.</p>
  
  <p>This query returns 6:</p>
  
  <pre><code>var a = (from belg in contextArchive.Belgeler
           join zrf in contextArchive.Zarflar on belg.Parent_ID equals zrf.ID
           where belg.RefETTN == this.BelgeETTN
           select new { zrf }).Count();
  </code></pre>
  
  <p>While this query returns 3:</p>
  
  <pre><code>var b = (from belg in contextArchive.Belgeler
           join zrf in contextArchive.Zarflar on belg.Parent_ID equals zrf.ID
           where belg.RefETTN == this.BelgeETTN
           select new { zrf }).ToList();
  
  countKabulRed = b.Count();
  </code></pre>