default mappings

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
designauto
Posts: 2
Joined: Tue 16 Jul 2013 18:58

default mappings

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

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

Re: default mappings

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

Post Reply