Hello All,

   When I researched it little further,
NHibernateSession.TransactionInProgress is different, When we received
the PostUpdateEvent for the PostUpdate event listener, the
NHibernateSession.TransactionInProgress is true. But when we received
the PostUpdateEvent for the PostCommitUpdate event listener, the
NHibernateSession.TransactionInProgress is false. Is it reliable to
differentiate using NHibernateSession.TransactionInProgress between
PostUpdate event listener and PostCommitUpdate event listener.

Thanks

On Feb 8, 4:22 pm, Krishna Jetti <[email protected]> wrote:
> Hello All,
>
>    We have extended the NHibernate events by implementing the
> IEventListener interface of the NHibernate session. We have definition
> for all the listeners PreXXX and PostXXX and Flush. But I want an
> event listener for PostCommitXXX
>
>  As the signature for the PostCommitXXX and PostXXX has the same
> PostXXXEvent argument, how can I distinguish between these events.
>
> Thanks
> Krishna

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to