Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

The DbContext API captures Entity Framework’s (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change Tracker API, and validate changes to your data with the Validation API.

With DbContext, you’ll be able to query and update data, whether you’re working with individual objects or graphs of objects and their related data. You’ll find numerous C# code samples to help you get started. All you need is experience with Visual Studio and database management basics.

  • Use EF’s query capabilities to retrieve data, and use LINQ to sort and filter data
  • Learn how to add new data, and change and delete existing data
  • Use the Change Tracker API to access information EF keeps about the state of entity instances
  • Control change tracking information of entities in disconnected scenarios, including NTier applications
  • Validate data changes before they’re sent to the database, and set up validation rules
  • Bypass EF’s query pipeline and interact directly with the database
1110789246
Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

The DbContext API captures Entity Framework’s (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change Tracker API, and validate changes to your data with the Validation API.

With DbContext, you’ll be able to query and update data, whether you’re working with individual objects or graphs of objects and their related data. You’ll find numerous C# code samples to help you get started. All you need is experience with Visual Studio and database management basics.

  • Use EF’s query capabilities to retrieve data, and use LINQ to sort and filter data
  • Learn how to add new data, and change and delete existing data
  • Use the Change Tracker API to access information EF keeps about the state of entity instances
  • Control change tracking information of entities in disconnected scenarios, including NTier applications
  • Validate data changes before they’re sent to the database, and set up validation rules
  • Bypass EF’s query pipeline and interact directly with the database
10.49 In Stock
Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

Programming Entity Framework: DbContext: Querying, Changing, and Validating Your Data with Entity Framework

eBook

$10.49  $14.99 Save 30% Current price is $10.49, Original price is $14.99. You Save 30%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

The DbContext API captures Entity Framework’s (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change Tracker API, and validate changes to your data with the Validation API.

With DbContext, you’ll be able to query and update data, whether you’re working with individual objects or graphs of objects and their related data. You’ll find numerous C# code samples to help you get started. All you need is experience with Visual Studio and database management basics.

  • Use EF’s query capabilities to retrieve data, and use LINQ to sort and filter data
  • Learn how to add new data, and change and delete existing data
  • Use the Change Tracker API to access information EF keeps about the state of entity instances
  • Control change tracking information of entities in disconnected scenarios, including NTier applications
  • Validate data changes before they’re sent to the database, and set up validation rules
  • Bypass EF’s query pipeline and interact directly with the database

Product Details

ISBN-13: 9781449331849
Publisher: O'Reilly Media, Incorporated
Publication date: 02/23/2012
Sold by: Barnes & Noble
Format: eBook
Pages: 258
Sales rank: 285,020
File size: 2 MB

About the Author

Julia Lerman is the leading independent authority on the Entity Framework and has been using and teaching the technology since its inception in 2006. She is well known in the .NET community as a Microsoft MVP, ASPInsider, and INETA Speaker. Julia is a frequent presenter at technical conferences around the world and writes articles for many well-known technical publications including the Data Points column in MSDN Magazine.

Julia lives in Vermont with her husband, Rich, and gigantic dog, Sampson, where she runs the Vermont.NET User Group. You can read her blog at www.thedatafarm.com/blog and follow her on Twitter at julielerman.


Rowan is based in Seattle, Washington and works as a Program Manager for the ADO.Net Entity Framework team at Microsoft. Prior to moving to the US he resided in the small state of Tasmania in Australia. Rowan speaks at technical conferences and blogs at http://romiller.com. Outside of technology Rowan's passions include snowboarding, mountain biking, horse riding, rock climbing and pretty much anything else that involves being active. The primary focus of his life, however, is to follow Jesus.

Table of Contents

Preface

Chapter 1: Introducing the DbContext API

Chapter 2: Querying with DbContext

Chapter 3: Adding, Changing, and Deleting Entities

Chapter 4: Working with Disconnected Entities Including N-Tier Applications

Chapter 5: Change Tracker API

Chapter 6: Validating with the Validation API

Chapter 7: Customizing Validations

Chapter 8: Using DbContext in Advanced Scenarios

Chapter 9: What’s Coming Next for Entity Framework

From the B&N Reads Blog

Customer Reviews