Re: [fluent-nhib] Cascade.AllDeleteOrphan() only clears foreign key

2019-04-05 Thread Felipe Oriani
Is there any rule defined for this FK on the database level? I mean, maybe its cascade is setted to "set null". Take a look at this link: https://stackoverflow.com/questions/44556033/cascade-alldeleteorphan-readonly-does-not-work On Thu, Apr 4, 2019 at 4:21 PM Eluander Lopes wrote: > I hav

Re: [fluent-nhib] Cascade.AllDeleteOrphan() only clears foreign key

2019-04-04 Thread Eluander Lopes
I have the same problem, did you find any solution? Em quarta-feira, 19 de maio de 2010 18:34:01 UTC-3, RenzoV escreveu: > > I have a feeling this is quite simpel but i can't figure out what i'm > doing wrong. I got a simpel one to many relationship. Here are the > mappings: > > public clas

RE: [fluent-nhib] Cascade.AllDeleteOrphan() only clears foreign key

2010-05-19 Thread Craig Gardiner
How are you deleting the 'Comment'? >From the parent (Post). Have you tried specifying the Inverse property on the relationship. I always to include this, maybe that will help. -Original Message- From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Be