locked
BindableAttribute in a WCF Service Class RRS feed

  • Question

  • I have a WCF Service which exposes a few classes in a class library. I have these classes marked with the appropriate BindableAttribute values in order to make them visible/invisible to a DataForm control in a Silverlight application. The problem is that the BindableAttributes are not brought through to the generated classes in the WCF service reference. I do not wish to use the custom fields tags in the DataForm, as the objects I'm binding to are of different types and have multiple fields.

    Is it possible to configure the service reference in SL4 to bring the bindable attributes through? Or, could I use the partial class methodology to add these BindableAttributes in the SL project?

    Thanks!

    Dave

    Tuesday, May 3, 2011 9:47 AM

Answers