.NET Framework 上的 EF Core 使用者入門Getting Started with EF Core on .NET Framework

這些入門教學課程不要求您必須事先了解 Entity Framework Core 或 Visual Studio。These 101-level tutorials require no previous knowledge of Entity Framework Core or Visual Studio. 這些教學課程會帶您逐步建立簡單的 .NET Framework 主控台應用程式,以查詢和儲存資料庫中的資料。They will take you step-by-step through creating a simple .NET Framework Console Application that queries and saves data from a database. 您可以選擇的教學課程包含根據現有資料庫建立模型,或根據您的模型建立資料庫。You can choose a tutorial that creates a model based on an existing database, or creates a database for you based on your model.

您可以在任何以 .NET Framework 為目標的應用程式中使用在這些教學課程中學到的技術,這包含 WPF 及 WinForms。You can use the techniques learned in these tutorials in any application that targets the .NET Framework, including WPF and WinForms.


這些教學課程及隨附的範例已升級為使用 EF Core 2.1。These tutorials and the accompanying samples have been updated to use EF Core 2.1. 不過,在大多數情況下,只要對指示進行最少的修改,應該就能夠建立使用舊版本的應用程式。However, in the majority of cases it should be possible to create applications that use previous releases, with minimal modification to the instructions.