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.