in command tool write cd F:\projects\TM\TimeManagment\TimeManagment.WEBC
and click
type name of drive lie F:
and click enter it will show you on that path
write dir and enter
dotnet ef dbcontext scaffold "Server=DESKTOP-OOSTFNR\SQL2K12;Database=TMDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -o Model
if any update in db
dotnet ef dbcontext scaffold "Server=DESKTOP-OOSTFNR\SQL2K12;Database=TMDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -o Model -f
https://www.youtube.com/watch?v=7NDE8wR5X_c
Share This with your friend by choosing any social account