How can we improve WCF Data Services?

Fix Complex Types in Data Services 5.6.0 and Entity Framework ≥ 6

We use a complex type named Address on our entities to normalize addresses off our primary entities. This worked fine when using EF5 and Data Services 5.6.0 but since upgrading to EF6, causes the following error:

The resource contains value '[Namespace].Address' which cannot be serialized.

It doesn't seem to be a problem with EF as it works fine behind the data services. We suspect the Microsoft.OData.EntityFrameworkProvider is the culprit.

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

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base