Thanks folks. Yes, the event model is confusing with timing and state. 
Documentation by the devs would go a long way! :)

So anyway, what would be a more appropriate event to hook off in that case?

For the flush event, what is confusing is inside NH's source code, in 
AbstractFlushingEventListener.cs, FlushEntities() you have comments like

    // 1. detect any dirty entities 
    // 2. schedule any entity updates
    // 3. search out any reachable collections
    protected virtual void FlushEntities(FlushEvent @event)
    {
        ...
    }

Thanks
Sid

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to