title: Getting the ConnectionProvider from a SessionFactory
body: <p>To do some custom (blackboxed) SQL actions, i need to have an IDBConnection instance to a database that we already regularly access via NHibernate.</p>
  
  <p>I do not want to deploy separate database configurations (one native, one nhibernate), but instead want NHibernate to give me direct access to the one already configured.</p>
  
  <p>I see that the ISession interface has a connection property, and i could create a dummy session, but i´d rather use a connection that is completely independent from any session created.</p>
  
  <p>So I wondered if there is any chance to get the the IConnectionProvider instance that is used by a session factory to provide the connections for the sessions created?</p>