EF Core 有沒有類似EF時期DB Fist 自動匯入Table View的工具
VS .Net Framework中使用EF DB First 是非常方便,但Net Core後是否有類似的功能可以減少開發時間呢
介紹一下個人習慣用的工具
安裝方式非常的簡單,只要在VS上點選延伸模組,後點開管理延伸模組
然後搜尋EF Core Power Tools 點選並安裝,安裝後要重啟VS

在方案總管處按下右鍵,會出現EF Core Power Tools,點選Reverse Enginner

按下Add

填入要連線的資料庫後,勾選要匯入的Table或是View,就會自動產生Context.cs以及各個Table或View的cs檔

如此方便的工具就可提高開發速度