NHibernate - does it work well with database-level cascading deletions on foreign key constraints

Posted by Nelson LaQuet on Stack Overflow See other posts from Stack Overflow or by Nelson LaQuet
Published on 2010-05-12T18:56:24Z Indexed on 2010/05/12 19:44 UTC
Read the original article Hit count: 314

Filed under:
|
|

Dose nHibernate play well with database level cascading deletions? What I mean is that if I have a constraint set at the RDBMS level to cascade delete all orphans, will nHibernate invoke any custom delete logic at the application level if I were to delete an entity though nHibernate? Or should I remove the cascading deletions from the RDBMS level and just use the cascading delete feature of nHibernate itself by defining that behavior though its configuration?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about nhibernate