Problem with enum and GetNullableType

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
McMlok
Posts: 26
Joined: Tue 04 Jun 2013 13:01

Problem with enum and GetNullableType

Post by 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.

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

Re: Problem with enum and GetNullableType

Post by 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
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Problem with enum and GetNullableType

Post by 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.

Post Reply