I'm trying to use the example available in
http://unhaddins.googlecode.com/svn/trunk/Examples/uNHAddins.Examples.SessionManagement/,
but the problem is that the configurations in http://bit.ly/ajUilx are
hard to replace.
I'm successfully creating the SessionFactories using the
MultiSessionFactoryProvider, and also I've the NH configs with the
session_context_class configured:
<property
name="current_session_context_class">uNhAddIns.SessionEasier.Conversations.ThreadLocalConversationalSessionContext,
uNhAddIns</property>
After that, I've marked a class with [PersistenceConversational] and a
method with [PersistenceConversation], but it throws:
uNhAddIns.SessionEasier.Conversations.ConversationException: No
current conversation available. Create a conversation and bind it to
the container.
Of course!, I'm missing all the configuration the example has in the
above link (http://bit.ly/ajUilx). Can anyone tell how are those
options for and when they are injected??
Context: WinForms .NET 3.5
NH: 2.1.2GA
uNhAddins: Trunk recompiled for NH 2.1.2GA
Thanks anyone!,
Diego
Thanks!
To unsubscribe from this group, send email to unhaddins+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.