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

还没有评分
Feb 23, 2012 · 英语 · Kindle (258 页数)
加入书架

评价这本书


导出书籍日志

书籍详情

格式 Kindle
页数 258
语言 英语
已发布 Feb 23, 2012
出版商 O'Reilly Media
ISBN-10 144933184X
ISBN-13 9781449331849

描述

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 dataLearn how to add new data, and change and delete existing dataUse the Change Tracker API to access information EF keeps about the state of entity instancesControl change tracking information of entities in disconnected scenarios, including NTier applicationsValidate data changes before they’re sent to the database, and set up validation rulesBypass EF’s query pipeline and interact directly with the database

类型

浪漫 商业与经济
加入书架

评价这本书


导出书籍日志