Hello and happy new year,
I am new to Prism and have been reading the documentation about the many features. It is fascinating how many problems I had in the past are addressed here.
One thing that I still am missing and had many problems in the past are states of models and how to update them back into the database. I am not sure if Prism solves this problem and I am 95% through all documentation without having found any reference to
Lets assume I would like to use Entity Framework 4 to connect to my Database. Within my DAL layer I would have to convert the data from EF4 entities into my models (MVVM) correct?
But once a model (representing a row in in a table) has been deleted, modified or inserted, how do I write these changes back to EF4 DAL layer?
Unless I should treat my EF4 entities as models and I am meant to build my ViewModels around EF4 Entities directly, which would then track the changes all the time.
I would appreciate it if you could advice me on this regarding a good strategy,