Hi,

What is the recommended way of using sessionscope in a window form
project? (many forms open at once)

The solution that came close to working is to have a
sessionscope(flushaction.never) on application load and then save
within a transactionscope. This did not work since I am getting
"object can't be associated with more than one session" errors. I also
tried SaveCopy which worked with single object but not if it had a
hasmany relationship.

Alternatively the app works fine without a sessionscope and I can live
without the batching and first level cache but would like to get
dynamicupdate working. I have information on which properties have
changed  so how can I share that info with nhibernate so it only
generates updates with the changed columns?

thank you.
Gerdus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to