views:

49

answers:

0

My data model has some complex relationships where I have to remove objects from associations before I delete them from NHibernate. However, I am currently getting

NHibernate.ObjectDeleteException {"deleted object would be re-saved by cascade (remove deleted object from associations)[Model#12344566]"}

I'm sure the issue is with my code in that I'm not removing the Model from its associations. Is there a good way to track down which association is holding the reference that would cause the object to be resaved?

Thanks in advance.