title: How do I update multiple Entity models in one SQL statement?
body: <p>I had the following:</p>
  
  <pre><code>List&lt;Message&gt; unreadMessages = this.context.Messages
              .Where( x =&gt;
                  x.AncestorMessage.MessageID == ancestorMessageID &amp;&amp;
                  x.Read == false &amp;&amp;
                  x.SentTo.Id == userID ).ToList();
  
  foreach(var unreadMessage in unreadMessages)
  {
      unreadMessage.Read = true;
  }
  
  this.context.SaveChanges();
  </code></pre>
  
  <p>But there must be a way of doing this without having to do 2 SQL queries, one for selecting the items, and one for updating the list.</p>
  
  <p>How do i do this?</p>