title: NHibernate with multiple databases and transactions
body: <p>We are having a few problems understanding how best to use NHibernate.  We typically have a relatively large number of quite small (in terms of number of tables) SQL Server databases rather than one database with a lot of objects.</p>
  
  <p>We are looking at various options for handling multiple session factories and probably have this under control.  However we are not sure how we would wrap all calls in a single transaction.  Using hand-rolled data access you would just wrap it all in a TransactionScope but we are a little reluctant to do this with NHibernate as it seems to like to handle all its own Transactions.</p>
  
  <p>Using multiple databases with shared transactions seems like the sort of thing lots of people would want to do with NHibernate.</p>
  
  <p>Are we just barking up the wrong tree entirely?</p>