MVVM: Decouple Model from ViewModel

Viewed 1882

I've just started learning WPF MVVM using Prism and Unity. Decoupling the view from the viewmodel works pretty well, but I don't get how wire up my viewmodel and my model. I doesn't feel right to just create a new EntityObject right in my viewmodel. I have already skim-read the WAF BookLibrary sample but it is quite bulky and adds a lot of extra stuff around the essential part (binding between view and viewmodel), and the Prism docs don't say a word (as far as I read it) about viewmodel - model interaction.

Does anyone know a good source that explains how to use viewmodel and model in a clean way or can me give some advise?

Best Regards

Jay

1 Answers
Related