We are using Entity Framework database-first for our Oracle database.
For some reason Number(5) becomes Int16 – short
Max Number(5) value is 99999
Max Int16 value is 32767
Problem… is there a way to instruct the mapper to translate Number(5) to int32?
Solved it, Added this to the web.config:
Recreated the Model with the
*.edmxfile and…Now
Number(5)isInt32instead ofInt16and
Number(10)isInt64instead ofInt32I hope it’ll help someone else in the future…