I’m currently writing viewmodels for my (WPF/C#) app.
I have to do a lot of copy and paste though. Isn’t there a way to generate the viewmodel from the model like generating the model from the database?
I haven’t found anything about it on the net …
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have a look at Karl Shifflet’s XAML Power Toys. It’s a Visual Studio plugin which includes various helpers for developing WPF or Silverlight applications. One of the features is exactly what you’re looking for: