Once again, there are probably other ways, but perhaps map the cascade as "all-delete-orphan".
I've found having this bookmarked as a quick reference quite useful: http://www.ayende.com/Blog/archive/2006/12/02/7065.aspx 2008/9/5 Whitney <[EMAIL PROTECTED]> > > I'm having one last problem. If I call SaveOrUpdate on an existing > parent object and remove one of the child objects from the child > collection on the parent object, that child doesn't get deleted from > the database. Do I need to call an explicit "delete" on that child? > Why would an update on the Parent pick up adds or updates to the > children through the collection, but not deletes? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
