Yep, I had this problem implementing an auditing feature where the audit entry is an entity in a collection belonging to the entity being audited...
I am using Allan Ritchie's solution here: http://groups.google.com/group/nhusers/browse_thread/thread/1db7fd843b0b4b56/df46cb0a150acd47 It does work, but I don't know what kind of horrors might be going on behind the scenes when the Assertion Failures are swallowed... On Oct 27, 10:51 pm, Krishna Jetti <[email protected]> wrote: > Hi, > > We have ObjectA and ObjectB and there is an 1:m relation from ObjectA > to ObjectB. And we are having problems persisting the ObjectA in the > following case. > > In the OnPreDelete event handler for ObjectB, we load the ObjectA and > remove the ObjectB from ObjectA collection and change some property > values and calling the Update on session with ObjectA as parameter. > > I am getting exception as collection [ObjectA.PropertyB] was not > processed by flush(). Where PropertyB is HashSet<ObjectB> > > Any help is appreciated -- 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.
