Nullable enum

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
gero_l
Posts: 1
Joined: Wed 07 Nov 2012 20:41

Nullable enum

Post by gero_l » Sun 07 Apr 2013 22:58

Is there any chance to get nullable enums back?
The newest designer does not generate "enumtype?" anymore.
Instead it is always "enumtype" so i dont have the GetValueOrDefault() function. :(

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Nullable enum

Post by Shalex » Mon 08 Apr 2013 08:06

1. Could you please specify the ORM framework you are working with?
2. Have you tried setting Nullable=true for the property?

Post Reply