title: Batch Update in NHibernate
body: <p>Does batch update command exist in NHibernate? As far as I am aware it doesn't. So what's the best way to handle this situation? I would like to do the following:</p>
  
  <ol>
  <li>Fetch a list of objects ( let's call them a list of users, <code>List&lt;User&gt;</code> ) from the database</li>
  <li>Change the properties of those objects, ( <code>Users.Foreach(User=&gt;User.Country="Antartica"</code>)</li>
  <li>Update each item back individually ( <code>Users.Foreach(User=&gt;NHibernate.Session.Update(User)</code>).</li>
  <li>Call <code>Session.Flush</code> to update the database.</li>
  </ol>
  
  <p>Is this a good approach? Will this resulted in a lot of round trip between my code and the database?</p>
  
  <p>What do you think? Or is there a more elegant solution?</p>