Hello,

I have a simple hierarchy of classes in my model. I retrieve the root
of the hierarchy with ISession.Get<>(), so that that is my actual
class, and then I initialize the rest of the hierarchy with
NHibernateUtil.Initialize() (so they are just proxies).

Classes in the model implement INotifyPropertyChanged and I use them
in WPF data binding. Change notifications work fine for the root of
the hierarchy (which is my actual class), but does not work with
proxies.

After some debugging I noticed that WPF simply does not subscribe to
PropertyChanged notifications on proxy objects. Even though proxies
implement INotifyPropertyChanged interface and change notifications
are raised.

I use ObjectDataProviders in WPF but same thing happens when I
directly assign object to DataContext property.

I have no clue why that happens. I probably did some silly mistake
somewhere.
Maybe someone have seen something like this.
I will really appreciate any advice on this.

Thanks
Artur
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to