-1

When i am updating my DBContext with below command..

Scaffold-DbContext "Server=MySERVER;Database=SSTEST;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir DBContext/DBModels

Then DBContext create in ASP.NET Core Web Application by default. I am using my DAL Separate Class Library and want to update DBContext under DAL instead of main project application.

Find PrintScreen

Required DBContext Like..

1 Answers1

0

You will have to select Default project in the Console where you are running the command