5
Answers

the term scaffold-dbcontext does not recognized

Guest User

Guest User

4y
6k
1
Hi Team
 
I have installed following packages, they appear to exist and have tried to run this command on NuGET console.
 
Install-Package Microsoft.EntityFrameworkCore.Tools
Install-Package Microsoft.EntityFrameworkCore.SqlServer
 
Scaffold-DBContext "Data Source=(LocalDb)\MSSQLLocalDB;
Catalog=eNtsaRegistration;
Integrated Security=True" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models.
I am getting an error,
 
The term 'Scaffold-DbContext' is not recognized as the name of a cmdlet
Answers (5)