Hi,
I am developing a service in WCF and am returing a complex object to the
consumer of the service. I would like some properties of this object to be
readonly but from what I understand readonly properties are not supported in
WCF. Is there a workaround for this, or do I need to make all properties
Writeable and manage this through error handling ?
Any advice would be appreciated
Regards
Niclas
Tiago Halm - 12 Mar 2008 00:01 GMT
Writable data or readonly data makes no sense. The WebService is purely
returning data to the client (hence the DataContract term). The concept of
"writing" does not exist. A client can only "write" by making calls to
operations on the server and sending data as the arguments of these
operations.
Tiago Halm
> Hi,
>
[quoted text clipped - 9 lines]
>
> Niclas