開始使用 Entity Framework 6Get started with Entity Framework 6

本指南包含一系列精選文件文章、逐步解說及影片的連結,以協助您快速開始使用。This guide contains a collection of links to selected documentation articles, walkthroughs and videos that can help you get started quickly.

基礎Fundamentals

  • 取得 Entity FrameworkGet Entity Framework

    您在這裡會學到如何將 Entity Framework 新增到應用程式,而您如果想使用 EF Designer,務必在 Visual Studio 中加以安裝。Here you will learn how to add Entity Framework to your applications and, if you want to use the EF Designer, make sure you get it installed in Visual Studio.

  • 建立模型:Code First、EF Designer 及 EF 工作流程Creating a Model: Code First, the EF Designer, and the EF Workflows

    您偏好指定撰寫程式碼還是建構輪廓的 EF 模型?Do you prefer to specify your EF model writing code or drawing boxes and lines? 您要使用 EF 將物件對應到現有的資料庫,還是希望 EF 建立專為物件打造的資料庫?Are you going to use EF to map your objects to an existing database or would you like EF to create a database tailored for your objects? 在這裡,您將瞭解使用 EF6 的兩種不同方法: EF 設計工具及 Code First。Here you learn about two different approaches to use EF6: EF Designer and Code First. 請務必追蹤討論,並觀看有關差異的影片。Make sure you follow the discussion and watch the video about the difference.

  • 使用 DbContextWorking with DbContext

    DbContext 是第一個也最重要的 EF 類型,值得您學習如何使用。DbContext is the first and most important EF type that you need to learn how to use. 其用途是資料庫查詢的啟動控制區,並會持續追蹤您對物件進行的變更,以便存回資料庫。It serves as the launchpad for database queries and keeps track of changes you make to objects so that they can be persisted back to the database.

  • 詢問問題Ask a Question

    了解如何取得專家的協助,以及對社群貢獻您自己的答案。Find out how to get help from the experts and contribute your own answers to the community.

  • 參與Contribute

    Entity Framework 6 使用開放的開發模型。Entity Framework 6 uses an open development model. 歡迎瀏覽我們的 GitHub 存放庫,看看您可以如何讓 EF 更臻完美。Find out how you can help make EF even better by visiting our GitHub repository.

Code First 資源Code First resources

EF Designer 資源EF Designer resources

其他資源Other resources