views:

6

answers:

0

[Newbie Alert!!!]
Hi All,

I am currently developing a Silverlight application which interacts with a WCF Service. I am following the MVVM pattern to keep the concerns separate as well. But now I am a bit stuck.

My idea was that the WCF service will serve as my Model and I can do my binding to the classes generated by service reference. It's all well as it generates all the classes with INotifyPropertyChanged interface but how do I make it to generate the class with INotifyErrorDataInfo? What I don't want to do is to write the whole entity class again on my client app and use AutoMapper to map fields. My main aim is to provide some validation for the data input.

It could be that I am missing a point here! So please do push me in the right direction.

Please do let me know if my description is not clear enough. I will try again.

Cheers---Jag