And what is wrong? on-delete="cascade" means that the childs are deleted automatically in the database with a trigger, so its only required one command, one roundtrip.
2011/1/12 ZNS <[email protected]> > When I do a Session.Delete(forum) only one delete statement is fired > (according to nhibernate profiler) "delete from tblforum where id = > X". However the topics are also deleted and are even audited in my > audit implementation which hooks to the event postdelete. > -- 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.
