silverlight - Extend computed properties in WCF Ria Services on client -


i have business object comes wcf service. know can extend business object creating partial class on client. however, possible extend property comes generated business object. example, let's business object has property called name. want is, on client, mark property [displayattribute].

any appreciated.

never used attributes, use pre-compiler statements hide silverlight/client side code, when compiles on server. example, done entitystate on both server , client side:

#if silverlight     using system.servicemodel.domainservices.client; #else     using system.data; #endif 

silverlight defined on client side, not on server side projects (conditional compilation symbol - project properties, build tab).

i haven't tried it, i'm thinking might work attributes?


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -