default mappings

default mappings

Postby designauto » Tue 16 Jul 2013 19:12

I am workng with version 6.8 and using Oracle 9i. All Number data types are being mapped as decimals in my .NET c# applicaiton. I need to have them come in as double.
designauto
 
Posts: 2
Joined: Tue 16 Jul 2013 18:58

Re: default mappings

Postby Shalex » Wed 17 Jul 2013 15:28

designauto wrote:All Number data types are being mapped as decimals in my .NET c# applicaiton.

Please use the Number Mappings connection string parameter to change default mapping when working with plain ADO.NET or with Entity Framework via EDM Wizard (the ADO.NET Entity Data Model item).

If you are using Entity Developer, customize Database First mapping for the newly created models via Visual Studio > Tools > Entity Developer > Options > Server Options > Oracle.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle