NUMBER(2,0) Conversion not working

NUMBER(2,0) Conversion not working

Postby palmi » Sun 15 Oct 2017 16:28

Hi Support,

I use Devart dotConnect for Oracle (v8.5.506.6) with Entity Framework (v6.0.0.0).
According to your Entity Framework Data Type Mapping table a column with NUMBER(2,0) definition should be mapped to an int type (https://www.devart.com/dotconnect/oracle/docs/DataTypeMapping.html).

But I have problems with this case. Please see following Stackoverflow entry:
https://stackoverflow.com/questions/46589929/oracle-db-to-ef-not-working-correctly-for-number2-0
palmi
 
Posts: 20
Joined: Thu 16 Feb 2017 16:52

Re: NUMBER(2,0) Conversion not working

Postby Shalex » Tue 17 Oct 2017 18:39

Your sample code specified at stackoverflow works with dotConnect for Oracle v9.4.348. Please upgrade.

If upgrade doesn't help for some reason, upload a complete small test project to ftp://ftp.devart.com (credentials: anonymous / yourEmail) so that we can investigate it.
Shalex
Devart Team
 
Posts: 7780
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle