I am starting to learn LINQ-to-SQL
for Windows Phone 8, and came across this article on MSDN.
They show a base class for DataContext
which implements both INotifyPropertyChanging
and INotifyPropertyChanged
. The reasoning for the INotifyPropertyChanging
is:
◦The INotifyPropertyChanged interface is used for change tracking.
◦The INotifyPropertyChanging interface helps limit memory consumption related to change tracking.
The article fails to give any specific references to justify the claim of memory consumption to the INotifyPropertyChanging
interface. The article on INotifyPropertyChanging itself just says:
Notifies clients that a property value is changing.
Can someone please explain to me how this interface which limits the memory footprint of an application, just by notifying that a property value is about to change (and not even restricting that change to from happening)?