MVVM: Delete a CustomerViewModel, but how to get the Customer model inside it?

Posted by msfanboy on Stack Overflow See other posts from Stack Overflow or by msfanboy
Published on 2010-04-29T20:17:49Z Indexed on 2010/04/29 20:27 UTC
Read the original article Hit count: 293

Filed under:
|
|
|
|

Hello,

I have a list of CustomerViewModels in a ComboBox. The selected CustomerViewModel I want to delete and also the Customer wrapped inside it to remove it from the repository.

But how can I access the Customer model inside the CustomerViewModel?

© Stack Overflow or respective owner

Related posts about mvvm

Related posts about viewmodel