Programming Entity Framework: DbContext (Paperback)
暫譯: Programming Entity Framework:DbContext(平裝本)

Julia Lerman, Rowan Miller

  • 出版商: O'Reilly
  • 出版日期: 2012-04-03
  • 定價: $900
  • 售價: 2.2 折 $199
  • 語言: 英文
  • 頁數: 258
  • 裝訂: Paperback
  • ISBN: 1449312969
  • ISBN-13: 9781449312961
  • 相關分類: Entity
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

In addition to Code First, EF 4.1 introduces simpler EF coding patterns with the DbContext, DbSet, ChangeTracker and Validation APIs. This second mini-book will take the reader on a tour of these new features and how to take advantage of them. These new classes and APIs let the user focus on the most common coding tasks with Entity Framework and streamlines access to patterns which are frequently used, but were previously non-intuitive and complicated to code. The Validation API that comes with DbContext leverages the existing .NET 4 IValidatableObject and ValidationAttributes as well as providing additional validation features. You will learn the ins and outs of getting the most from server side validation from the DbContext.

商品描述(中文翻譯)

除了 Code First 之外,EF 4.1 也透過 DbContext、DbSet、ChangeTracker 與 Validation API,引進更簡潔的 EF 撰寫模式。這本迷你書的第二冊將帶領讀者瞭解這些新功能,以及如何善加利用它們。這些新類別與 API 讓使用者能專注於使用 Entity Framework 時最常見的程式撰寫工作,並簡化常用模式的存取方式;這些模式過去不僅不直觀,實作起來也相當複雜。

DbContext 隨附的 Validation API 運用了現有的 .NET 4 IValidatableObject 與 ValidationAttributes,同時也提供額外的驗證功能。您將學習如何深入掌握 DbContext 所提供的伺服器端驗證功能。