I'm a little confused as to how Burrow should be used to support a
multi-page task that creates several new transient entities. For
example,
1) Create a new Customer instance on PageOne.aspx
2) Create an Order instance on PageTwo.aspx
3) Present the confirmation on PageThree.aspx
4) User clicks Finish and everything is saved
I did notice this line in introduction section of the Wiki
bf.CurrentConversation.Items["placingOrder"];
I presume this container is acting like asp.net session, but is scoped
to the workspace, yes? So in the case above
would I accumulate the transient instances in the Items collection and
on the confirmation page save them to the ISession? Or is the saving
supposed to be done for me when I call FinishSpan()?
Also, are conversations supported by maintaining the state of the
ISession bewteeen requests? It doesn't look it, but I thought I'd ask
to make sure. I did see an example of that in the NHibernate In
Action book, but I'm unsure how well that sort of approach would
perform and scale. What are people's thought's on that implementation
approach?
Cheers,
Aeden
Cheers,
Aeden
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"NHibernate Contrib - Development Group" 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.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---