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!

EntityFramework Core: Scaffold-DbContext

mariohikJul 3 2020 — edited Jul 18 2020

I'm trying to scaffold a table, but always get an error.

Scaffold-DbContext "DATA SOURCE=Datasource;PASSWORD=xxxxxx;USER ID=xxxxx" Oracle.EntityFrameworkCore -OutputDir Models -Tables tablea -Force  -Context "AppDBContext" -DataAnnotations

For it to work I have to specify the table in UPPERCASE.

Scaffold-DbContext "DATA SOURCE=Datasource;PASSWORD=xxxxxx;USER ID=xxxxx" Oracle.EntityFrameworkCore -OutputDir Models -Tables TABLEA -Force  -Context "AppDBContext" -DataAnnotations

My questions is: Is that normal? Does it have to be in uppercase or is it CaseSensitive?

This post has been answered by Alex Keh-Oracle on Jul 3 2020
Jump to Answer
Comments
Post Details
Added on Jul 3 2020
1 comment
5,909 views