SmartStoreNET
SmartStoreNET copied to clipboard
WebApi: Namespace conflict
In the OData Metadata XML there are two namespaces that causes a conflict when you use Autogenerated code (OData Connected Service in VisualStudio). These are:
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="System.Net.Http">
<ComplexType Name="StreamContent">
<Property Name="Headers" Type="Collection(System.Collections.Generic.KeyValuePair_2OfString_IEnumerable_1OfString)"/>
</ComplexType>
</Schema>
And
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="System.Collections.Generic">
<ComplexType Name="KeyValuePair_2OfString_IEnumerable_1OfString">
<Property Name="Value" Type="Collection(Edm.String)"/>
</ComplexType>
</Schema>
I've included all API schema types in your sample project but don't still get this.