Can I use INotifyPropertyChanged in WCF?

In my WPF app, I call a WCF service to retrieve my business object. I take that business object and bind it to a grid. I want to now apply the INotifyPropertyChanged attribute, but am unsure if it would work from WCF. My ultimate goal is to be able to edit items in a grid, click update and push those back through a WCF service.

Answers


I think there is an option for the generated classes to implement that automatically.

svcutil /enableDataBinding - Implement the System.ComponentModel.INotifyPropertyChanged interface on all Data Contract types to enable data binding. (Short Form: /edb)


Need Your Help

Any other reason to divide a project into multiple packages than clarity for developers?

java packages

this might seem like a dumb question to some, but bare with me please.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.