You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the entity includes a property named, "Context", a conflict arises with the Microsoft.OData.Client.BaseEntityType.Context object of the same name.
Version of the Project affected
Microsoft.OData.Cli v0.1.0
VisualStudio Version v17.2.3
Microsoft.Odata.Client v7.11.0
To Reproduce
Steps to reproduce the behavior:
Define an OData api with an entity having a "Context" property. (<Property Name="Context" Type="Edm.String">)
Use the OData CLI to generate classes.
Build the project.
Observe errors including 'string' does not contain a definition for 'EntityTracker'
Observe a warning 'EssWorkflowWorkItem.Context' hides inherited member 'BaseEntityType.Context'.
Expected behavior
No compilation errors should occur.
Actual behavior
Compilation errors occur.
Screenshots
Additional context
We are working around this by removing the generated (and unused) method where the error occurs.
The text was updated successfully, but these errors were encountered:
Describe the bug
When the entity includes a property named, "Context", a conflict arises with the Microsoft.OData.Client.BaseEntityType.Context object of the same name.
Version of the Project affected
Microsoft.OData.Cli v0.1.0
VisualStudio Version v17.2.3
Microsoft.Odata.Client v7.11.0
To Reproduce
Steps to reproduce the behavior:
<Property Name="Context" Type="Edm.String">
)'string' does not contain a definition for 'EntityTracker'
'EssWorkflowWorkItem.Context' hides inherited member 'BaseEntityType.Context'.
Expected behavior
No compilation errors should occur.
Actual behavior
Compilation errors occur.
Screenshots
Additional context
We are working around this by removing the generated (and unused) method where the error occurs.
The text was updated successfully, but these errors were encountered: