title: Update multiple rows in iQueryable
body: <p>Given this table:</p>
  
  <p><a href="https://i.stack.imgur.com/aqwra.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aqwra.png" alt="enter image description here"></a></p>
  
  <p>I need to update the Rate and Average for all 4 rows.</p>
  
  <pre><code>var currency = Context.Set&lt;Currency&gt;().Select(c =&gt; c);
  </code></pre>
  
  <p>That will create <code>currency</code> as an iQueryable.  But now I'm having trouble envisioning how to formulate the update statement to update <code>Rate</code> and <code>Average</code> in all four rows.</p>
  
  <p>What I need to do is the equivalent of this:</p>
  
  <pre><code>update Currencies set rate = 1.7, Average = 1.1 where CurrencyId = 1
  update Currencies set rate = 2.5, Average = 2.1 where CurrencyId = 2
  update Currencies set rate = 3.1, Average = 3.1 where CurrencyId = 3
  update Currencies set rate = 42.7, Average = 42.1 where CurrencyId = 4
  </code></pre>