i building a data service
and the class i return contains enum
i found that data service does not have a natural support for enum
i found a work around for the problem here
is this the only way to do it ?
is there a natural way to do it?
thanks in advance
Currently WCF Data Services doesn't support enum properties. The blog post you mentioned is a one possible workaround (only works for reflection provider though). You can vote for this feature for the next release here:
Vitek Karas [MSFT]
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?