How can we improve WCF Data Services?

Recognize 'Id' as default entity key

Only 'ID' (all uppercase) is currently recognized as the default entity key. Please make this a case-insensitive match so I don't have to keep adding the DataServiceKey attribute to all my entities.

40 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • tne commented  ·   ·  Flag as inappropriate

    I think this was fixed a while ago. @Sean Hanley what version of EF are you using?

  • Sean Hanley commented  ·   ·  Flag as inappropriate

    This would be such a quick fix; it is just changing the StringComparison.Ordinal value to StringComparison.OrdinalIgnoreCase.

Feedback and Knowledge Base