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
?
Error 2019: Member Mapping specified is not valid. The type 'Edm.Int32[Nullable=True,DefaultValue=]' of member 'XX' in type 'Model.XXX' is not compatible with 'OracleEFProvider.number[Nullable=True,DefaultValue=,Precision=5,Scale=0]' of member 'XX' in type 'Model.Store.XXX'.
. Any idea ? – Cleary