A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
Hi,@Franky Lin. Welcome to Microsoft Q&A.
Executing your Scaffold command in the CLI requires the project to install Microsoft.EntityFrameworkCore.SqlServer, Microsoft.EntityFrameworkCore.Design, and Microsoft.EntityFrameworkCore.Tools. However, these packages cannot be installed in .NET Framework projects.
In a .NET Framework project (ASP NET Web Application), you cannot use the Database-First approach of Entity Framework Core. Instead, you should use the Database-Firstapproach of Entity Framework 6:
https://learn.microsoft.com/en-us/ef/ef6/modeling/designer/workflows/database-first.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.