New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Enum member value type from IEdmPrimitiveValue to a more specific type #544

Closed
Zoe-ms opened this Issue Apr 26, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@Zoe-ms
Contributor

Zoe-ms commented Apr 26, 2016

Specifically remove dependency on IEdmPrimitiveValue

@Zoe-ms Zoe-ms added this to the 7.0 milestone Apr 26, 2016

@Zoe-ms Zoe-ms self-assigned this Apr 26, 2016

Zoe-ms added a commit to Zoe-ms/odata.net that referenced this issue May 3, 2016

Zoe-ms added a commit to Zoe-ms/odata.net that referenced this issue May 4, 2016

Zoe-ms added a commit to Zoe-ms/odata.net that referenced this issue May 4, 2016

@LaylaLiu LaylaLiu closed this May 6, 2016

@LaylaLiu LaylaLiu removed the in-progress label May 6, 2016

@Zoe-ms Zoe-ms changed the title from Remove Enum dependency on Vocabularies types to Remove Enum dependency on Vocabularies type: IEdmPrimitiveValue Aug 2, 2016

@Zoe-ms Zoe-ms changed the title from Remove Enum dependency on Vocabularies type: IEdmPrimitiveValue to Change Enum member value type from IEdmPrimitiveValue to a more specific type Aug 4, 2016

@nirshar1977

This comment has been minimized.

nirshar1977 commented Oct 5, 2016

Hi All,
Is it possible at this OData version to add string enum value type as follow:
_type.AddMember(name: "Minimum", value: "MIN")
_type.AddMember(name: "Maximum", value: "MAX")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment