BusinessListBase does not subscribe to new child object event notifications (CSLA 3.5)

BusinessListBase does not subscribe to new child object event notifications (CSLA 3.5)

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


rsbaker0 posted on Thursday, February 06, 2014

My apologies if I am overlooking something obvious, but I've discovered that BusinessListBase subscribes to the PropertyChanged event notification of its children only in OnDeserializedHandler.   New items added to the list are never subscribed.

I discovered this when trying to make a go of using the built-in indexing the class provides, only to discover it wasn't finding the new entries being added to the list if the indexed property was subsequently changed.

What was the rationale behind only hooking the existing child objects? Am I missing something?

Copyright (c) Marimer LLC