Enumerations and WCF

Thread is closed for posting
2 posts, 0 answers
  1. Valerio
    Valerio avatar
    4 posts
    Member since:
    Apr 2014

    Posted 09 Mar 2015 Link to this post


    I can use Enumerations with Data Access following the documentation.

    But it does not work with WCF.

    Is it possible use Enumerations with WCF.


  2. Viktor Zhivkov
    Viktor Zhivkov avatar
    324 posts

    Posted 12 Mar 2015 Link to this post

    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.

    Viktor Zhivkov
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
Back to Top