WCF Data Services Feature Suggestions

Support Enums as Property Types on Entities

have a type on the server that is defined by an Enum with a restricted set of values, I want to be able to expose that through my model and through my data service

859 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Mike FlaskoAdminMike Flasko (Lead Program Manager, DataFx) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Odd Dahm SælenOdd Dahm Sælen commented  ·   ·  Flag as inappropriate

        When a user drags an enum entity from the DataSource to the design surface the default element should be a combobox that have the elements of the enumeration as items in the drop down box. There should be a way to represent the elements as strings in this list. The selected value should be bound to the entity.

      Feedback and Knowledge Base