John Crim

My feedback

  1. 31 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    John Crim commented  · 

    This is possible with some effort. I was able to get this to work by reverse-engineering the generated client code. I haven't found much documentation on this, so I'll probably do a blog post on it.

    The short version is that you need to subclass DataServiceContext (like the client generator does for you), and then override ResolveTypeFromName() and ResolveNameFromType() so they map your class namespaces to the Edm namespace. I've provided a little more info with this answer on stack overflow: http://stackoverflow.com/questions/6371243/wcf-dataservices-ctp2-there-is-a-type-mismatch-between-the-client-and-the-ser/14721900#14721900

    John Crim supported this idea  · 
  2. 12 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    John Crim shared this idea  · 
  3. 14 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    John Crim supported this idea  · 
  4. 74 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    John Crim supported this idea  · 
  5. 965 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    John Crim supported this idea  · 
  6. 818 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    John Crim supported this idea  · 
  7. 1,081 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    started  ·  Mark Stafford responded

    Good news: this is coming – and not just on entity types but on complex types as well. Enums are part of the OData v4 protocol. In fact, it was one of the things we argued vociferously for precisely because of the number of votes on this issue.

    John Crim supported this idea  · 

Feedback and Knowledge Base