Hi José,
Thanks for getting back to me.
You are correct in saying that all I need is a try catch in the view
model. The conversation will close the session on an exception and I
can start another conservation by calling another method with the
relevant attribute to start a new conversation.
Forgive my ignorance, but I don`t completely understand where the
concrete implementation of the ICanHandlePersistenceExceptions
interface would be used. I am not familiar with PostSharp (but i get
the idea) as I am using Castle Windsor. So would I have to implement
ICanHandlePersistenceExceptions in my project and register it with
Castle for it to be picked up by the Conversation code? Or is it an
attribute which marks a method?
Basically what I am asking is how would it be used?
Kind regards
Mohammad
On Mar 3, 12:31 pm, José F. Romaniello <
jfromanie...@gmail.com> wrote:
> 2011/3/3 dezzy <
mohammad.shahab.ra...@gmail.com>