Add option to skip views to Scaffold-dbcontext #21283
Labels
area-scaffolding
consider-for-next-release
customer-reported
punted-for-7.0
Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints.
type-enhancement
Milestone
When running Scaffold-dbcontext, classes for all existing tables and views are created. I only want to generate classes for existing tables in the database and omit all the views. The only possible workaround is to manually pick which tables to use. This is not very useful for large databases.
You can omit all tables by passing an empty -Tables parameter. Same should be possible for views.
The text was updated successfully, but these errors were encountered: