Re: [fluent-nhib] Re: Updating parent with single assigned identifier leaves orphaned children

2010-02-19 Thread Paul Batum
Have you tried asking on the nhibernate users mailing list? Your question is more about NH usage than the FNH mappings. On Thu, Feb 18, 2010 at 4:11 AM, adrianhara wrote: > Update: I've been able to make it work by doing this: > > public Parent Save

[fluent-nhib] Re: Updating parent with single assigned identifier leaves orphaned children

2010-02-17 Thread adrianhara
Update: I've been able to make it work by doing this: public Parent Save(Parent parent) { var existingParent = Get(); if (existingParent != null) { repository.Delete(existingParent); return repository.Save(parent);