Efcore: Feature: Add "-Views" in Scaffold-DbContext

Created on 3 Jun 2020  路  5Comments  路  Source: dotnet/efcore

Hi,

I want to Scaffold one view from database. When using "-Tables " i get error: no table found.

I suggest to add a "-Views" switch to a Scaffold-DbContext command.

Br
Tom Thunderforest

closed-external customer-reported

Most helpful comment

Which EF Core version?

All 5 comments

Which EF Core version?

EF Core 3.1.4

Suggest you provide a sample SQL schema script, that can reproduce the issue.

Hi,

Ok I checked and with MySQL database it ok - I can pass view name as parameter for "-Tables ".
I get the error when using Oracle Database (-Provider "Oracle.EntityFrameworkCore")

Sorry for bothering.

Yes, the Oracle (preview) provider has some issues: https://github.com/oracle/dotnet-db-samples/issues/73

Was this page helpful?
0 / 5 - 0 ratings