locked
Entity, WCF and EnumTypes RRS feed

Answers

  • User1519735232 posted

    Enums are currently not supported in WCF Data Services (the OData protocol doesn't support them either). The typical workaround is to use string and constant values, or integer and constant values.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 24, 2013 3:04 AM
  • User-488622176 posted

    Best option: constant/numeric values. Strings pose problems in multilanguage context.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 25, 2013 9:24 AM

All replies

  • User1519735232 posted

    Enums are currently not supported in WCF Data Services (the OData protocol doesn't support them either). The typical workaround is to use string and constant values, or integer and constant values.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 24, 2013 3:04 AM
  • User-488622176 posted

    Best option: constant/numeric values. Strings pose problems in multilanguage context.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 25, 2013 9:24 AM