title: How to delete multiple db entities with Nhibernate?
body: <p>What is the best practice for this problem? Is there any batching features built-in? </p>
  
  <p>Sample code:</p>
  
  <pre><code>using (ITransaction transaction = _session.BeginTransaction())
  {
     _session.Delete("FROM myObject o WHERE  o.Id = IN(1,2,...99999)");
     transaction.Commit();
  }
  </code></pre>
  
  <p>Thanks in advance.</p>