0

I'm using EF Core 8.0.4 and I want to use my existing database. But there are about 1000 views in the database. I don't want to use them for my project anymore. How can I avoid EF Core from scaffolding them into my new project?

I'm try searching a lot but can't find solution

2
  • 2
    Use ef-core power tools. Commented May 30, 2024 at 10:13
  • You can specify the tables to generate at the command line with the --table switch in dotnet ef scaffold. Commented May 30, 2024 at 13:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.