I've checked the tutorials and documentation and could not find a way to map enumeration values with entities. I always find myself casting enums to short/int which is kinda inconvenient.
Any help is appreciated.
Enumeration support?
We have already considered the situation with Enumeration support in Entity Framework here in our blog.
There was an Enumeration support added in the Entity Framework 4.2 June 2011 CTP, but it supports only Enums of integer type, while in PostgreSQL Enums are of literal type.
Could you please specify what Enum type are you interested in?
There was an Enumeration support added in the Entity Framework 4.2 June 2011 CTP, but it supports only Enums of integer type, while in PostgreSQL Enums are of literal type.
Could you please specify what Enum type are you interested in?