Contributor |
|
Joined: Sun Jun 26, 2005 5:03 am Posts: 51 Location: London, UK
|
I'd agree, just because you are using NHibernate for persistence, it doesn't mean you can ignore basic database design principles like not allowing "broken" data in there in the first place.
Are there some other applications accessing your database; otherwise you might be missing a "cascade" attribute in some of your mapping files to force the children to be deleted if the parent is deleted.
_________________ Paul Hatcher
NHibernate Team
|
|