This project is read-only.

1 to Many and Soft Deletions

Topics: Writing modules
Aug 27, 2015 at 7:51 PM
I have a one to many relationship between two custom content parts. It was built following the standard guide:

The Parent part has a public virtual IList<ChildPartRecord> property containing the children. (I believe NHibernate populates this list, correct?)

If I delete a child content item using the Admin UI, that child is still appearing in the parent's list populated by NHibernate. Is that normal? What's the best way to have the child list populated with a set that excludes any deleted items?