Page 1 of 1

Nullable enum

Posted: Sun 07 Apr 2013 22:58
by gero_l
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. :(

Re: Nullable enum

Posted: Mon 08 Apr 2013 08:06
by Shalex
1. Could you please specify the ORM framework you are working with?
2. Have you tried setting Nullable=true for the property?