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.
+4
A:
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)
leppie
2008-11-26 17:08:29
A:
If you are talking about a partial trusted WPF app you can in .NET 3.5... You cannot in .NET 3.0..
If it is full trust you are talking about, I see no problems :)
Arcturus
2008-11-27 10:05:56