I am writing some code against the Azure Table Storage REST API. The API uses OData, which is normally handled by the .net client. However, I am not using the client, so I need to figure out another way to generate/consume OData XML. I can use the Syndication classes to do the ATOM stuff, but not the OData/EDM <-> CLR mapping.
Is anyone aware of a OData/EDM <-> type mapper, and/or CLR object to OData entity converter?
Thanks,
Erick
Here’s some code that converts an XML element (from an OData feed) and converts it to an ExpandoObject.