Greetings!
I'm having issues using OData Connected Service in a asp.net web api application. The extension is actually a failed build which can be fixed by replacing "EdmxReader" with "CsdlReader" in the following line in the generated code.
return global::Microsoft.OData.Edm.Csdl.EdmxReader.Parse(reader);
However when then trying to retrieve data from the connected service an exception is thrown:
Exception:"Encountered the following errors when parsing the EDMX document: \r\nUnexpectedXmlAttribute : The attribute
'ConcurrencyMode' was not expected in the given context. : (842, 49)\r\nUnexpectedXmlAttribute : The attribute
'ConcurrencyMode' was not expected in the given context. : (1389, 49)"
ExceptionType: System.Exception {Microsoft.OData.Edm.Csdl.EdmParseException}
I was thinking of reverse engineering the official github code and then manually add the connected service from local code however would I have to package it into a vsix project to then import? I'm not familiar with Visual Studio extension development.
Thank you in advance!