使用 Visual Studio 的 ASP.NET Core MVC 與 Entity Framework Core 使用者入門Getting started with ASP.NET Core MVC and Entity Framework Core using Visual Studio

注意:本教學課程的 Razor 頁面版本位於這裡Note: A Razor Pages version of this tutorial is available here. 此 Razor 頁面版本更容易遵循,並涵蓋更多 EF 功能。The Razor Pages version is easier to follow and covers more EF features.

這一系列的教學課程將教導您如何建立使用 Entity Framework Core 進行資料存取的 ASP.NET Core MVC Web 應用程式。This series of tutorials teaches you how to create ASP.NET Core MVC web applications that use Entity Framework Core for data access. 這些教學課程需要 Visual Studio 2017。The tutorials require Visual Studio 2017.

  1. 快速入門Getting started
  2. 建立、讀取、更新和刪除作業Create, Read, Update, and Delete operations
  3. 排序、篩選、分頁與群組Sorting, filtering, paging, and grouping
  4. 移轉Migrations
  5. 建立複雜的資料模型Creating a complex data model
  6. 讀取相關資料Reading related data
  7. 更新相關資料Updating related data
  8. 處理並行存取衝突Handling concurrency conflicts
  9. 繼承Inheritance
  10. 進階主題Advanced topics