Map oracle float data type TO double .Net data type

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Douglas Aguiar
Posts: 1
Joined: Mon 02 Nov 2009 15:06

Map oracle float data type TO double .Net data type

Post by Douglas Aguiar » Mon 02 Nov 2009 15:22


I'm using the trial version of devArt dotConnect for Oracle, I have an application using Entity Framework and I implement database independece.

Now I have a problem with float oracle data type, it is mapping to .Net decimal, but the SQL Server float maps to .Net double.

Can I Map the oracle float to .Net double?


Douglas Aguiar

Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 02 Nov 2009 16:35

You can map Oracle float to CLR float.
In case you have Devart Entity Model, you can do the mapping in design time.
In Entity Developer, you should change the column type in the Store part of the model and
the property type in the conceptual model.
In case you have ADO.NET Entity Data Model, you'll have to change the .edmx file manually
in both SSDL and CSDL parts.

Post Reply