Programming Entity Framework: DbContext (Paperback)

Julia Lerman, Rowan Miller

  • 出版商: O'Reilly
  • 出版日期: 2012-04-03
  • 定價: $900
  • 售價: 9.0$810
  • 語言: 英文
  • 頁數: 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還引入了更簡單的EF編碼模式,包括DbContext、DbSet、ChangeTracker和Validation API。這本第二本迷你書將帶領讀者深入了解這些新功能以及如何充分利用它們。這些新的類和API讓用戶專注於Entity Framework中最常見的編碼任務,並簡化了以前不直觀且複雜的編碼模式的訪問。DbContext附帶的Validation API利用現有的.NET 4 IValidatableObject和ValidationAttributes,並提供了額外的驗證功能。您將學習如何從DbContext中獲得最大的伺服器端驗證效果。