This is a migrated thread and some comments may be shown as answers.

Enumerations and WCF

1 Answer 20 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Valerio
Top achievements
Rank 1
Valerio asked on 09 Mar 2015, 03:58 PM
Hi.

I can use Enumerations with Data Access following the documentation.
http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/domain-class-mapping/developer-guide-domain-model-class-mapping-use-enums

But it does not work with WCF.

Is it possible use Enumerations with WCF.

Thanks,

Valerio

1 Answer, 1 is accepted

Sort by
0
Viktor Zhivkov
Telerik team
answered on 12 Mar 2015, 01:45 PM
Hello Valerio,

In general you can easily use enumerations with WCF, but you will have to implement the code manually. Here is a short MSDN article that can server as guidance.

If you want to use our Add Service wizard to generate your WCF service layer for an entity with an enum property you will experience issues as some of the code generation templates are not ready to handle enums.
Please excuse us for any inconvenience you have experienced.

Regards,
Viktor Zhivkov
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Data Access Free Edition
Asked by
Valerio
Top achievements
Rank 1
Answers by
Viktor Zhivkov
Telerik team
Share this question
or