我猜你應該是沒有安裝
Install-Package Microsoft.EntityFrameworkCore.SqlServer –Pre
Install-Package Microsoft.EntityFrameworkCore.Tools –Pre
Install-Package Microsoft.EntityFrameworkCore.SqlServer.Design –Pre
這幾個包
Command才會無法識別Scaffold-DbContext
他出現
No DbContext was found in assembly 'BabyRecords-Server'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic.
s10730047
建立dbcontext是否有做完?
參考
https://ithelp.ithome.com.tw/articles/10196856
有了 感謝!
s10730047
疑?結果你是用上面那位解答解決的啊?
看你選他正解@@
啊...對不起...手殘按錯...