Mapping Type Problem

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 8
Joined: Fri 08 Oct 2010 08:19

Mapping Type Problem

Post by atmuc » Tue 30 Nov 2010 12:00

i have NUMBER(13,6) column on oracle. while adding this table VS EF designer, this column is mapped as double. i want to use it as decimal. is it possible.

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

Post by AndreyR » Tue 30 Nov 2010 13:32

We plan to add some mapping tweaking in one of the future builds of dotConnect for Oracle. Unfortunately, the only solution at the moment is to do mapping manually.
If you are using Devart Entity model, you can go to Model Explorer and just change the type of the conceptual property and the storage column (in the Model.Store node) in design time.
If you are using Microsoft ADO.NET Data Model, open it in XML Editor and change the types in the SSDL and CSDL model parts accordingly.

Post Reply