Code-First Development with Entity Framework

Sergey Barskiy

  • 出版商: Packt Publishing
  • 出版日期: 2015-03-21
  • 售價: $1,090
  • 貴賓價: 9.5$1,036
  • 語言: 英文
  • 頁數: 174
  • 裝訂: Paperback
  • ISBN: 1784396273
  • ISBN-13: 9781784396275
  • 相關分類: Entity
  • 下單後立即進貨 (約3~4週)

商品描述

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代碼中受益。最後,您將學習如何使用遷移來解決數據庫部署問題。