現在的.NET 5 / 6,已經可以建立 WindowsForm 專案了,我這邊使用 Visual Studio 2022 以 NET 6 建立一個全新的 WindowsForm 範本,並示範如何在 WindowsForm 中使用 EF Core。若你是使用 Visual Studio 2019 則能建立的最高板本是 .NET 5,兩者的安裝方式相同,可以安心服用。
現在的.NET 5 / 6,已經可以建立 WindowsForm 專案了,我這邊使用 Visual Studio 2022 以 NET 6 建立一個全新的 WindowsForm 範本,並示範如何在 WindowsForm 中使用 EF Core。若你是使用 Visual Studio 2019 則能建立的最高板本是 .NET 5,兩者的安裝方式相同,可以安心服用。