Programming Entity Framework: Building Data Centric Apps with the ADO.NET Entity Framework

Front Cover
"O'Reilly Media, Inc.", Aug 9, 2010 - Computers - 920 pages

Get a thorough introduction to ADO.NET Entity Framework 4 -- Microsoft's core framework for modeling and interacting with data in .NET applications. The second edition of this acclaimed guide provides a hands-on tour of the framework latest version in Visual Studio 2010 and .NET Framework 4. Not only will you learn how to use EF4 in a variety of applications, you'll also gain a deep understanding of its architecture and APIs.

Written by Julia Lerman, the leading independent authority on the framework, Programming Entity Framework covers it all -- from the Entity Data Model and Object Services to WCF Services, MVC Apps, and unit testing. This book highlights important changes for experienced developers familiar with the earlier version.

  • Understand the core concepts you need to make the best use of the EF4 in your applications
  • Learn to query your data, using either LINQ to Entities or Entity SQL
  • Create Windows Forms, WPF, ASP.NET Web Forms, and ASP.NET MVC applications
  • Build and consume WCF Services, WCF Data Services, and WCF RIA Services
  • Use Object Services to work directly with your entity objects
  • Create persistent ignorant entities, repositories, and write unit tests
  • Delve into model customization, relationship management, change tracking, data concurrency, and more
  • Get scores of reusable examples -- written in C# (with notes on Visual Basic syntax) -- that you can implement right away
 

Contents

Chapter 1 Introducing the ADONET Entity Framework
1
Chapter 2 Exploring the Entity Data Model
19
Chapter 3 Querying Entity Data Models
49
Chapter 4 Exploring LINQ to Entities in Greater Depth
77
Chapter 5 Exploring Entity SQL in Greater Depth
111
Chapter 6 Modifying Entities and Saving Changes
129
Chapter 7 Using Stored Procedures with the EDM
141
Chapter 8 Implementing a More RealWorld Model
165
Chapter 17 Using EntityObjects in WCF Services
451
Chapter 18 Using POCOs and SelfTracking Entities in WCF Services
491
Chapter 19 Working with Relationships and Associations
523
Connections Transactions Performance and More
557
Chapter 21 Manipulating Entities with ObjectStateManager and MetadataWorkspace
599
Chapter 22 Handling Exceptions
647
Chapter 23 Planning for Concurrency Problems
661
Chapter 24 Building Persistent Ignorant Testable Applications
687

Chapter 9 Data Binding with Windows Forms and WPF Applications
187
Chapter 10 Working with Object Services
233
Chapter 11 Customizing Entities
269
Chapter 12 Data Binding with RAD ASPNET Applications
299
Chapter 13 Creating and Using POCO Entities
337
Chapter 14 Customizing Entity Data Models Using the EDM Designer
363
Chapter 15 Defining EDM Mappings That Are Not Supported by the Designer
405
Chapter 16 Gaining Additional Stored Procedure and View Support in the Raw XML
421
Chapter 25 DomainCentric Modeling
729
Chapter 26 Using Entities in Layered ClientSide Applications
763
Chapter 27 Building Layered Web Applications
785
Appendix A Entity Framework Assemblies and Namespaces
823
Appendix B DataBinding with Complex Types
827
Appendix C Additional Details About Entity Data Model Metadata
833
Index
841
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information