Hibernate version: 2.0.0
The Problem
I am developing a WPF application and I'm using NHibernate as my back-end persister.
I have read some articles about making NHibernate collection WPF friendly, that is implement INotifyCollectionChange.
The thing is
I understand that it is possible, and even working.
But I don't think it is right.
I think the right thing is to saparate my domain objects (and collection) from the presentation layer.
I guess I can try to create some kind of UI wrapper classes to handle special UI requirements and not go all the way down and change the domain objects, even it it is "just" the implementation, and not the interface.
Thank you,
Ido.
|