MVVM:How am I supposed to convert a ViewModel into a Model ?

Posted by msfanboy on Stack Overflow See other posts from Stack Overflow or by msfanboy
Published on 2010-05-18T15:14:04Z Indexed on 2010/05/18 15:40 UTC
Read the original article Hit count: 176

Filed under:
|
|
|
|

Hello,

everyone speaks about wrapping a model by a viewmodel. fine so far.

But when I want persist my Model, how do I convert a ViewModel into a Model ?

Reading all properties from the ViewModel into a new Model object seems very cumbersome.

Any better method?

© Stack Overflow or respective owner

Related posts about viewmodel

Related posts about convert