Programming Entity Framework: Code First (Paperback)

Julia Lerman, Rowan Miller

  • 出版商: O'Reilly
  • 出版日期: 2012-01-03
  • 售價: $1,200
  • 貴賓價: 9.5$1,140
  • 語言: 英文
  • 頁數: 194
  • 裝訂: Paperback
  • ISBN: 1449312942
  • ISBN-13: 9781449312947
  • 相關分類: Entity
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

This mini book will act as an extension to Programming Entity Framework 2nd Edition. Code First is an additional means of building a model to be used with the Entity Framework and is creating a lot of excitement in the .NET development community. The reader will begin with an overview of what Code First is, why it was created, how it fits into the Entity Framework and when to use it over the alternatives. Next the reader will gain an understanding of how Code First's built in conventions work and how to override them with configuration — whether they choose to use attribute based Data Annotations or strongly typed Fluent API configurations. The mini-book will then review the modeling possibilities of Code First, looking first at the impact of its conventions and then demonstrating how to override that behavior (and its impact on the database) first with the Annotations and then with the Fluent API. The book will also explore how Code First Database initialization works, the options it provides and how they impact your application development and database. Finally the reader will get a chance to see Code First in action in a small application. Because more complex application development with Code First will depend on an understanding of the DbContext API, which is the focus of Minibook #2, readers will see additional application scenarios with Code First in that following mini-book.

商品描述(中文翻譯)

這本迷你書將作為《Programming Entity Framework 2nd Edition》的延伸。Code First 是一種用於 Entity Framework 的建模方式,正在 .NET 開發社群中引起很大的興趣。讀者將首先瞭解 Code First 是什麼,為什麼創建它,它如何與 Entity Framework 相關聯,以及何時應該使用它而不是其他選擇。接下來,讀者將瞭解 Code First 內建的慣例是如何工作的,以及如何通過配置覆蓋它們 — 無論是選擇使用基於屬性的數據註釋還是強類型的 Fluent API 配置。迷你書還將回顧 Code First 的建模可能性,首先查看其慣例的影響,然後演示如何通過註釋和 Fluent API 覆蓋該行為(以及對數據庫的影響)。該書還將探討 Code First 數據庫初始化的工作原理,提供的選項以及它們對應用程序開發和數據庫的影響。最後,讀者將有機會在一個小應用程序中看到 Code First 的實際應用。由於使用 Code First 進行更複雜的應用程序開發需要理解 DbContext API,而這是迷你書 #2 的重點,讀者將在後續的迷你書中看到更多使用 Code First 的應用場景。

最後瀏覽商品 (1)