Can we Scaffold DbContext from selected tables of an existing database
问题 As in previous versions of Entity Framework, is it possible in Entity Framework Core to reverse engineer only the selected tables of an existing database to create model classes out of them. This official ASP.NET site reverse engineers the entire database. In past, as shown in this ASP.NET tutorial, using old EF you could reverse engineer only the selected tables/Views if you chose to. 回答1: One can solve the problem by usage of dotnet ef dbcontext scaffold command with multiple -t ( --table )