can anyone provide/refer a proper OO type helper class for managing a singleton of the SessionFactory and then also for managing Sessions?
Two suggestions:
Thank you! This is helpful, but I'm looking for something that's a bit more robust.
For example, referenced on the NH site (http://hibernate.org/363.html#A9) is a contribution made by Andrew Mayorov and he posts three files such as this (http://nhibernate.sourceforge.net/contrib/Wiki_AndrewMayorovAspNet.zip).
Thing is that it doesn't come with much help. I'm not exactly sure how to make use of it properly. I tried some things, but ran into trouble.
Anyone have something which uses this or similar?
NHibernate Burrow looks promising. I just started using it and i'm having no issues to date.