100% of people found this useful
An ISessionFactory may open an ISession a user-provided ADO.NET connection. This design choice frees the application to obtain ADO.NET connections wherever it pleases:
IDbConnection conn = myApp.GetOpenConnection();
ISession session = sessions.OpenSession(conn);
// do some data access work
The application must be careful not to open two concurrent ISession on the same ADO.NET connection!