You set this on your NHibernate.Cfg.Configuration instance right? You should be able to use the ExposeConfiguration method to get access to the underlying Configuration instance and then set the session context appropriately. Or alternatively you can build your Configuration instance as you normally would including setting the session context, and then pass it in as an argument to Fluently.Configure().
Paul Batum On Mon, Mar 30, 2009 at 2:56 PM, Action Jackson <[email protected]> wrote: > > > I apologize in advance if this question has been answered many times > over. How can I specify the session context using the Fluent > configuration? In other words, what is the Fluent translation of a > traditional xml mapping like "<property > name="current_session_context_class">thread_static</property>"? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
