Page 1 of 1

Connection string with Number Mapping ignored by Entity Developer?

Posted: Thu 30 Oct 2014 17:05
by c.harlass
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

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

Posted: Fri 31 Oct 2014 07:51
by Shalex
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 ... pping.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)

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

Posted: Fri 31 Oct 2014 12:54
by c.harlass
Thanks, works now!