If you need to modify the connection driver of NHibernate you'll have to take over the SessionFactory of NHibernate by creating your own SessionProvider implementation. You can take a look at how the existing one is implemented by using dotPeek or Reflector.
MiniProfiler with uCommerce and NHibernate
Hi
I'm trying out the MiniProfiler for my site, and I can see that a nuget package has been made to enable profiling NHibernate: http://nuget.org/packages/MiniProfiler.Contrib.NHibernate/
However, the page mentions that you need to do this, to enabled it:
How do I do that with uCommerce? If possible?
Hi Morten,
If you need to modify the connection driver of NHibernate you'll have to take over the SessionFactory of NHibernate by creating your own SessionProvider implementation. You can take a look at how the existing one is implemented by using dotPeek or Reflector.
is working on a reply...