Does anyone know why there is check

if (Key.IsCascadeDeleteEnabled && (*!IsInverse* || !IsOneToMany))

https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/Mapping/Collection.cs#L387


?

It prevents to use* on-delete="cascade"* in composition with *
inverse="false"*
*
*
I've removed this restriction and all works fine, so I do wonder - why?

Reply via email to