Entity Framework Core Cookbook - Second Edition

Ricardo Peres

  • 出版商: Packt Publishing
  • 出版日期: 2016-11-10
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 324
  • 裝訂: Paperback
  • ISBN: 1785883305
  • ISBN-13: 9781785883309
  • 相關分類: Entity
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Learn how to use the new features of Entity Framework Core 1
  • Improve your queries by leveraging some of the advanced features
  • Avoid common pitfalls
  • Make the best of your .NET APIs by integrating with Entity Framework

Book Description

Entity Framework is a highly recommended Object Relation Mapping tool used to build complex systems. In order to survive in this growing market, the knowledge of a framework that helps provide easy access to databases, that is, Entity Framework has become a necessity. This book will provide .NET developers with this knowledge and guide them through working efficiently with data using Entity Framework Core.

You will start off by learning how to efficiently use Entity Framework in practical situations. You will gain a deep understanding of mapping properties and find out how to handle validation in Entity Framework. The book will then explain how to work with transactions and stored procedures along with improving Entity Framework using query libraries. Moving on, you will learn to improve complex query scenarios and implement transaction and concurrency control. You will then be taught to improve and develop Entity Framework in complex business scenarios. With the concluding chapter on performance and scalability, this book will get you ready to use Entity Framework proficiently.

What you will learn

  • Master the technique of using sequence key generators
  • Validate groups of entities that are to be saved / updated
  • Improve MVC applications that cover applications developed using ASP.NET MVC Core 1
  • Retrieve database information (table, column names, and so on) for entities
  • Discover optimistic concurrency control and pessimistic concurrency control.
  • Implement Multilatency on the data side of things.
  • Enhance the performance and/or scalability of Entity Framework Core
  • Explore and overcome the pitfalls of Entity Framework Core

About the Author

Ricardo Peres is a Portuguese developer, blogger, and occasionally an e-book author. He has more than 17 years of experience in software development, using technologies such as C/C++, Java, JavaScript, and .NET. His interests include distributed systems, architectures, design patterns, and general .NET development.

He currently works for London-based Simplifydigital as a technical evangelist, and was first awarded as MVP in 2015.

Ricardo maintains a blog, Development With A Dot, where he regularly writes about technical issues. You can read it here: http://weblogs.asp.net/ricardoperes.

He has reviewed Learning NHibernate 4 for Packt.

You can catch up with him at @RJPeres75.

Table of Contents

  1. Improving Entity Framework in the Real World
  2. Mapping Entities
  3. Validation and Changes
  4. Transactions and Concurrency Control
  5. Querying
  6. Advanced Scenarios
  7. Performance and Scalability
  8. Pitfalls

商品描述(中文翻譯)

主要特點



  • 學習如何使用 Entity Framework Core 1 的新功能

  • 通過利用一些高級功能來改進查詢

  • 避免常見的問題

  • 通過與 Entity Framework 整合來充分利用您的 .NET API

書籍描述


Entity Framework 是一個高度推薦的物件關聯映射工具,用於構建複雜的系統。為了在這個不斷增長的市場中生存,掌握一個幫助輕鬆訪問數據庫的框架,也就是 Entity Framework,已經成為必需品。本書將為 .NET 開發人員提供這方面的知識,並指導他們如何使用 Entity Framework Core 高效地處理數據。


您將首先學習如何在實際情況中高效使用 Entity Framework。您將深入了解屬性映射,並了解如何在 Entity Framework 中處理驗證。接下來,本書將解釋如何使用事務和存儲過程,以及如何使用查詢庫來改進 Entity Framework。然後,您將學習如何改進複雜的查詢場景,並實現事務和並發控制。接著,您將學習如何在複雜的業務場景中改進和開發 Entity Framework。本書的最後一章將介紹性能和可擴展性,讓您能夠熟練地使用 Entity Framework。

您將學到什麼



  • 掌握使用序列鍵生成器的技巧

  • 驗證要保存/更新的實體組

  • 改進使用 ASP.NET MVC Core 1 開發的 MVC 應用程序

  • 為實體檢索數據庫信息(表名、列名等)

  • 了解樂觀並發控制和悲觀並發控制

  • 在數據方面實現多重性能

  • 增強 Entity Framework Core 的性能和/或可擴展性

  • 探索並克服 Entity Framework Core 的問題

關於作者


Ricardo Peres 是一位葡萄牙開發人員、博客作者,偶爾也是電子書作者。他在軟件開發方面擁有超過 17 年的經驗,使用過 C/C++、Java、JavaScript 和 .NET 等技術。他的興趣包括分佈式系統、架構、設計模式和一般的 .NET 開發。


他目前在倫敦的 Simplifydigital 公司擔任技術傳教士,並於 2015 年首次獲得 MVP 獎。


Ricardo 維護著一個博客,名為 Development With A Dot,定期發表技術文章。您可以在這裡閱讀:http://weblogs.asp.net/ricardoperes。


他曾為 Packt 審查過《Learning NHibernate 4》。


您可以在 Twitter 上關注他:@RJPeres75。

目錄



  1. 在現實世界中改進 Entity Framework

  2. 實體映射

  3. 驗證和更改

  4. 事務和並發控制

  5. 查詢

  6. 高級場景

  7. 性能和可擴展性

  8. 問題