c# - Best Practice Observablecollection<Model> vs Observablecollection<ViewModel> -
which 1 better solution hold data or depends on conditions?
sample situation 1:
need display list of data can modified in new window after selection.
sample situation 2:
need display list of data can modified in list.
as you're using mvvm, should going observablecollection<viewmodel>.
the model should separated view means of viewmodel.
Comments
Post a Comment