We are currently noticing an issue with Entity Developer numeric data type mappings. Currently NUMBER(2,0) is mapping to Int32.
When we change or delete an entity EF Core throws an InvalidCastException because its trying to cast the integer to a byte.
According to this documentation I think Number(2,0) should map to byte by default.
https://docs.oracle.com/en/database/ora ... E7305E3F6A
Here is what appears to be the latest default mapping settings in Entity Developer.
- Number -> Decimal
- Number(1,0) -> Boolean
- Number(2...9,0) -> Int32
- Number(10...18,0) -> Int64
- Number(1...15,-84...127) -> Double