Code-First Development with Entity Framework
暫譯: 使用 Entity Framework 的代碼優先開發

Sergey Barskiy

  • 出版商: Packt Publishing
  • 出版日期: 2015-03-21
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 174
  • 裝訂: Paperback
  • ISBN: 1784396273
  • ISBN-13: 9781784396275
  • 相關分類: Entity
  • 海外代購書籍(需單獨結帳)

商品描述

Take your data access skills to the next level with Entity Framework

About This Book

  • Learn how to create, retrieve, update, and delete the data in a relational database using .NET
  • Choose from an array of examples in C# and VB.NET that showcase the key concepts of Entity Framework
  • This is a fast-paced, practical guide based on the code-first approach for the Entity object-relational mapper

Who This Book Is For

This book is intended for software developers with some prior experience with the Microsoft .NET framework who want to learn how to use Entity Framework. This book will get you up and running quickly, providing many examples that illustrate all the key concepts of Entity Framework.

What You Will Learn

  • Understand what ORM tools are and what problems they solve
  • Set up a .NET application to use Entity Framework
  • Write Entity Framework code that creates, updates, and deletes application data in a database
  • Learn how to query the data using LINQ and gain insight into how LINQ fits into Entity Framework
  • Create a database structure using the Entity Framework configuration API
  • Evolve the database structure using migrations
  • Write asynchronous code and handle concurrency
  • Work with stored procedures and functions using Entity Framework

In Detail

Entity Framework Code-First enables developers to read and write data in a relational database system using C# or VB.NET. It is Microsoft's answer to demand for an ORM from .NET developers.

This book will help you acquire the necessary skills to program your applications using Entity Framework. You will start with database configuration and learn how to write classes that define the database structure. You will see how LINQ can be used with Entity Framework to give you access to stored data. You will then learn how to use Entity Framework to persist information in a Relational Database Management System. You will also see how you can benefit from writing ORM-based .NET code. Finally, you will learn how Entity Framework can help you to solve database deployment problems using migrations.

商品描述(中文翻譯)

**提升您的資料存取技能,掌握 Entity Framework**

## 本書簡介
- 學習如何使用 .NET 在關聯式資料庫中創建、檢索、更新和刪除資料
- 從 C# 和 VB.NET 的多個範例中選擇,展示 Entity Framework 的關鍵概念
- 這是一本基於代碼優先方法的快速實用指南,針對 Entity 物件關聯映射器

## 本書適合誰
本書適合對 Microsoft .NET 框架有一定經驗的軟體開發人員,想要學習如何使用 Entity Framework。本書將幫助您快速上手,提供許多範例來說明 Entity Framework 的所有關鍵概念。

## 您將學到什麼
- 了解 ORM 工具是什麼以及它們解決了哪些問題
- 設置 .NET 應用程式以使用 Entity Framework
- 編寫 Entity Framework 代碼,創建、更新和刪除資料庫中的應用程式資料
- 學習如何使用 LINQ 查詢資料,並深入了解 LINQ 如何融入 Entity Framework
- 使用 Entity Framework 配置 API 創建資料庫結構
- 使用遷移演進資料庫結構
- 編寫非同步代碼並處理併發
- 使用 Entity Framework 操作儲存過程和函數

## 詳細內容
Entity Framework Code-First 使開發人員能夠使用 C# 或 VB.NET 在關聯式資料庫系統中讀取和寫入資料。這是微軟對 .NET 開發人員對 ORM 需求的回應。

本書將幫助您獲得使用 Entity Framework 編程應用程式所需的技能。您將從資料庫配置開始,學習如何編寫定義資料庫結構的類別。您將看到如何將 LINQ 與 Entity Framework 結合使用,以便訪問儲存的資料。接著,您將學習如何使用 Entity Framework 在關聯式資料庫管理系統中持久化資訊。您還將了解編寫基於 ORM 的 .NET 代碼的好處。最後,您將學習如何使用遷移來解決資料庫部署問題。