Skip to content
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

Implement ENUM data type #52

Closed
bgrainger opened this issue Sep 12, 2016 · 3 comments
Closed

Implement ENUM data type #52

bgrainger opened this issue Sep 12, 2016 · 3 comments

Comments

@bgrainger
Copy link
Member

@bgrainger bgrainger commented Sep 12, 2016

Implement support for ENUM.

http://dev.mysql.com/doc/refman/5.7/en/enum.html

Required for #4 and PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#36

@caleblloyd
Copy link
Contributor

@caleblloyd caleblloyd commented Nov 2, 2016

Does Connector/NET support SET or ENUM? I can't seem to find it. Let's keep the conversation here even though #71 is related.

@bgrainger
Copy link
Member Author

@bgrainger bgrainger commented Nov 2, 2016

I don't think it has specialised .NET types to wrap them, but does support deserializing them (both to string I think). I was just looking for the same level of basic support in this case.

@bgrainger bgrainger removed the 1.0 label Nov 23, 2016
@bgrainger bgrainger added this to the 1.0 milestone Nov 23, 2016
@bgrainger
Copy link
Member Author

@bgrainger bgrainger commented Nov 26, 2016

ENUM column values are returned as strings by MySQL Server and will be exposed as strings by MySqlDataReader.GetValue.

@bgrainger bgrainger self-assigned this Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants