Connection string with Number Mapping ignored by Entity Developer?

Connection string with Number Mapping ignored by Entity Developer?

Postby c.harlass » Thu 30 Oct 2014 17:05

Hi,

I have an Oracle table with a NUMBER(18,3) column, which should be mapped as System.Double.

When I follow the docu and add number mappings, they will be ignored when adding the table to the designer. I have been trying: "Number Mappings=(NUMBER,11,38,System.Double)", "Number Mappings=(NUMBER,18,3,System.Double)".

Any help would be greatly appreciated.
Thx, Chris

PS: Oracle 10g, DevArt 8.4.201, EF 6.1.1
c.harlass
 
Posts: 2
Joined: Thu 30 Oct 2014 16:41

Re: Connection string with Number Mapping ignored by Entity Developer?

Postby Shalex » Fri 31 Oct 2014 07:51

c.harlass wrote:Connection string with Number Mapping ignored by Entity Developer?

That is a designed behaviour.

Here is a default mapping: http://www.devart.com/dotconnect/oracle/docs/?DataTypeMapping.html.
If necessary, you can change default mapping:
1) via the Tools > Options > Servers' Options > Oracle menu (applied only for Entity Developer, *.edml)
2) using the Number Mappings connection string parameter (applied only for EDM Wizard, *.edmx)
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Re: Connection string with Number Mapping ignored by Entity Developer?

Postby c.harlass » Fri 31 Oct 2014 12:54

Thanks, works now!
c.harlass
 
Posts: 2
Joined: Thu 30 Oct 2014 16:41


Return to dotConnect for Oracle