Problem with enum and GetNullableType

Problem with enum and GetNullableType

Postby McMlok » Thu 13 Jun 2013 08:29

Hello,

I have DTO template in my model. I have class with property witch is Enum type and this property is nullable. When I transform DTO template it generates dto class with enum property witch is not nullable. Than generated converter extension is wrong becouse it try to assign nullable type to not nullable type.

As I search tmpl file I thing problem is in CsModelCodeProvider.GetNullableType(bool, string) method with is not reflect Nullable parameter.
McMlok
 
Posts: 20
Joined: Tue 04 Jun 2013 13:01

Re: Problem with enum and GetNullableType

Postby Shalex » Fri 14 Jun 2013 16:11

The bug is fixed. Look forward to the next build of dotConnect for Oracle. We will post here when it is available for download.
Shalex
Devart Team
 
Posts: 7780
Joined: Thu 14 Aug 2008 12:44

Re: Problem with enum and GetNullableType

Postby Shalex » Thu 20 Jun 2013 16:24

New build of dotConnect for Oracle 7.7.267 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=27386.
Shalex
Devart Team
 
Posts: 7780
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle