I have a database that communicates with webservices with my model (native thread) and provides data objects. My user interface application consists of different views and views and user controls. I use ServiceProvider (IServiceProvider) to access the Model and route events to the UI thread. The relationship between ViewModels is handled by Messenger.
Is it so?
I was also interested to know what is the best way to structure DataObjects
Currently, I have DataObjects that have a hierarchical structure but do not support INotifyProperty, although the children list is of type ObservableCollection. I have no way to implement notifypropertychange by properties.
I was wondering how to make them MVVM friendly. Implementing a partial class and adding all the properties or commands needed or wrapping all DataObjects, and keeping the list of models and the MVVM list in sync.
All thoughts and ideas are appreciated.
user280370
source share