Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can you change the Scaffolding mappings in EF Core?

TridusNov 24 2020

Hi. In ODP.net EF, you can change the default mappings in the configuration before scaffolding. Is this still possible in core?
I ask because NUMBER(2) to NUMBER(4)maps to byte, which is unusable with any number over 255. Normally I just map these to short in configuration and the problem goes away, but I'm not sure how to do this in Core as the documentation doesn't mention it except editing the generated classes after the fact.
Thanks.

This post has been answered by Alex Keh-Oracle on Nov 25 2020
Jump to Answer

Comments

Post Details

Added on Nov 24 2020
9 comments
2,079 views