John Gathogo

Results 159 comments of John Gathogo

Thank you @zehavibarak for reporting this issue. We will investigate and decide the way forward. In the meantime, a workaround you use to unblock yourself is to edit the auto-generated...

@zehavibarak OData Connected Service does help greatly in generating the proxy classes. However, if generating your own POCOs, you could opt to subclass the `DataServiceContext` by yourself and implement logic...

No activity from the reporter

@TheMisir The current behaviour is based on the current odata protocol. If we wanted to support this we would probably use a different mechanism (e.g. preference header)

@TheMisir In addition, consider this perfectly valid OData Uri: `{{ServiceRoot}}/Customers?$expand=Orders($count=true)&$count=true` It will give you a result like the one below as an example: ``` { "@odata.context": "{{ServiceRoot}}/$metadata#Customers(Orders())", "@odata.count": 2, "value":...

@paule96 Can you confirm the project template used in the above case

> This PR fixes: [OData/odata.net#3004](https://github.com/OData/odata.net/issues/3004) and [OData/odata.net#3009](https://github.com/OData/odata.net/issues/3009). > > It sets the `MaxProtocolVersion` to have the same version as the `OData-Version`. Currently, V4 is set as the default Protocol Version....

@komdil Thanks for reporting the issue. I'm investigating what could be going wrong when `DerivesFrom` method is used. Could you in the meantime just remove the lines with `DerivesFrom`? The...

**UPDATE:** The issue appears to stem from the use of `.DerivesFrom()` when configuring complex types: ```csharp modelBuilder.ComplexType(); modelBuilder.ComplexType() .DerivesFrom(); ``` When `.DerivesFrom()` is used, the `VipAddress` complex type in the...

Hello @StefH. Thank for reporting this issue. The odata-cli tool doesn't work with relative paths (including those with upward traversal) for now. Please use absolute paths, e.g. _C:\Users\StefH\Projects\MyProj\resources\edmx\current.xml_ or _file:///C:/Users/StefH/Projects/MyProj/resources/edmx/current.xml_