title: How to query an entity's collection property asynchronously
body: <p>My question does not have to do with asynchronously querying collection properties of subclasses of DbContext but to do with querying collection properties of entities.</p>
  
  <p>Let's assume we have the situation as given by <a href="https://msdn.microsoft.com/en-us/data/jj819165.aspx" rel="nofollow">Async Query &amp; Save (EF6 onwards)</a>.</p>
  
  <p>If we consider the class Blog, which looks like this:</p>
  
  <pre><code>public class Blog 
  { 
      public int BlogId { get; set; } 
      public string Name { get; set; } 
  
      public virtual List&lt;Post&gt; Posts { get; set; } 
  } 
  </code></pre>
  
  <p>How to asynchronously query the Posts collection, for instance something like:</p>
  
  <pre><code>await someBlog.Posts.Where(p =&gt; p.Title == ...).ToListAsync()
  </code></pre>
  
  <p>The problem however is, that ToListAsync() is not a part of the List&lt;> class and System.Data.Entity does not define a ToListAsync() extension method.</p>
  
  <p>Therefore, how to query collection properties asynchronously?</p>