Another common pattern for session management in desktop applications is Conversation per Business Transaction, often abbreviated as CpBT. In this recipe, I'll show you how to use the CpBT implementation available from the unofficial NHibernate AddIns project, one of many active NHibernate-related open source projects. uNhAddIns was started by NHibernate project leader, Fabio Maulo, and is maintained by several well-known NHibernate contributors.
You'll need to download the latest uNhAddIns project binaries from the project website at http://code.google.com/p/unhaddins/. Extract those binaries from the ZIP file to your solution's