Enumeration support?

Enumeration support?

Postby detaybey » Sun 10 Jul 2011 13:59

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.
Posts: 9
Joined: Thu 09 Jun 2011 16:23

Postby AndreyR » Mon 11 Jul 2011 12:50

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?
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Return to dotConnect for PostgreSQL