I filed this some time ago and it was closed without much of an explanation.
http://nhjira.koah.net/browse/NH-1809 On Jan 8, 1:38 pm, Ayende Rahien <[email protected]> wrote: > I'm +1 for that, it would simplify the current code, which is to create a > child session > > On Fri, Jan 8, 2010 at 8:19 PM, Dario Quintana < > > [email protected]> wrote: > > Hello friends, > > > I've a seeing that using EventListeners infrastructure, i.e. using a > > PreInsert-eventLister, we can't generate an Insert with the Event Session. > > The problem is that execution list is iterated by a *foreach *and when the > > collection is modified, an exception is thrown. We can change this behaviour > > using a simple *for*. > > > If you agree, I can change this behaviour, or maybe I'm missing something. > > > This is another example where this behaviour can be useful > > >http://groups.google.com/group/nhusers/browse_thread/thread/d2424b6bd... > > (The solution here can be simplified with just one *for*) > > > Cheers > > -- > > Dario Quintana > >http://darioquintana.com.ar
