Data type mapping when creating a function import

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
JSkibisky
Posts: 2
Joined: Wed 16 Jun 2010 16:17

Data type mapping when creating a function import

Post by JSkibisky » Fri 25 Jun 2010 12:58

When bringing an Oracle stored procedure into the entity model, number and integer types are mapped to type decimal. This is problematic when attempting to map a stored procedures for INSERT, UPDATE, etc. functions on an entity. It makes it impossible to designate a column as the "Rows Affected" parameter as the designer will only recognize integer types for that purpose. Manually changing the types in the XML causes issues with the designer. Are there any ways to control, or otherwise modify, data types once a function import has been established?

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

Post by Shalex » Tue 29 Jun 2010 15:42

Please refer to the Entity Framework Data Type Mapping article. If the problem persists, specify the exact types that are mapped not correctly.

Post Reply