UnitOfWork.CurrentSession.SessionFactory

On Thu, Oct 30, 2008 at 6:32 PM, Tobes <[EMAIL PROTECTED]> wrote:

>
> Hi folks
>
> Anyone know how I can get at the SessionFactory with Rhino? I wan to
> grab some data out of the Statistics class?
>
> Obviously I can do this:
>
> var fac =
> (NHibernateUnitOfWorkFactory)IoC.Resolve<IUnitOfWorkFactory>();
>
> But it won't expose the factory (probably for good reason).
>
> Thanks
>
> Tobin
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to