Does OnChildChanged automatically work with BB children, or only lists?

Does OnChildChanged automatically work with BB children, or only lists?

Old forum URL: forums.lhotka.net/forums/t/9205.aspx


DanB posted on Wednesday, July 14, 2010

The title says it all. 

I find the book's explanation to be a little ambiguous on this point.  Page 276 says "...BusinessBase includes code to handle the PropertyChanged or ListChanged events raised by any child objects." [emphasis added]  But the previous paragraphs are talking specifically about child lists.

Anyway, it doesn't seem to be doing it for me.  If that's normal, then I need to wire to the PropertyChanged of the child object myself.

DanB replied on Wednesday, July 14, 2010

I had a brain black hole and was just using the standard root editable object as a child.

Copyright (c) Marimer LLC