Generate Model Classes

Mar 29, 2013 at 3:46 PM
Base in the MVVM pattern I started to créate my own model classes since I'm my DTOs are returning DTO, in order to support binding, I have to convert the DTOs into Model clases that support INotifyPropertyChanged.

It would be great if I could generate my model classes with the implementation of INotifyPropertyChanged and INotifyDataErrorInfo into a portable class library.

So having something like ModelClass.ToDTO in order to pass the class from my client to the WCF.

What are your thoughts on this one? Is there a different way to handle this?

I want my model to support Silverlight, WPF, Windows 8 in order to reuse code.
Jun 28, 2013 at 1:53 AM
Hi @wguerram
Thanks for using the tool!
Could you inherit the Model from the DTO?
Sorry for the too late response, been busy with other projects.
Marked as answer by ffernandez on 12/30/2013 at 6:58 PM