Synopses & Reviews
Summary
Entity Framework 4 in Action is an example-rich tutorial for .NET developers with full coverage of EF 4 features. The book begins with a review of the core ideas behind the ORM model and shows through detailed examples and larger case studies how Entity Framework offers a smooth transition from a traditional ADO.NET approach. About the Technology
Entity Framework builds on the ADO.NET persistence model and the language features of LINQ to create a powerful persistence mechanism that bridges the gap between relational databases and object-oriented languages. About the Book
Entity Framework 4 in Action is an example-rich tutorial that helps .NET developers learn and master the subject. It begins by explaining object/relational mapping and then shows how you can easily transition to EF from ADO.NET. Through numerous focused examples and two larger case studies, the book unfolds the EF story in a clear, easy-to-follow style. Infrastructure and inner workings of EF are discussed when you need them to understand a particular feature.
This book is written for .NET developers. Knowledge of ADO.NET is helpful but not required.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside
- Full coverage of EF 4 features
- Layer separation, Data Layer, and Domain Model
- Best practices
Table of Contents
PART 1 REDEFINING YOUR DATA-ACCESS STRATEGY
- Data access reloaded: Entity Framework
- Getting started with Entity Framework
PART 2 GETTING STARTED WITH ENTITY FRAMEWORK
- Querying the object model: the basics
- Querying with LINQ to Entities
- Domain model mapping
- Understanding the entity lifecycle
- Persisting objects into the database
- Handling concurrency and transactions
PART 3 MASTERING ENTITY FRAMEWORK
- An alternative way of querying: Entity SQL
- Working with stored procedures
- Working with functions and views
- Exploring EDM metadata
- Customizing code and the designer
Synopsis
HIGHLIGHT
A clear, easy-to-follow guide to the Microsoft Entity Framework, with a full
exploration of Entity Framework features and best practices.
DESCRIPTION
Microsoft Entity Framework in Action is an introduction to the Entity
Framework for developers working in .NET who possess a working knowledge
of ADO.NET. Beginning with a review of the core ideas behind the objectrelational
management (ORM) model, it outlines how Entity Framework offers
a smooth transition from a traditional ADO.NET approach. Featuring numerous
examples and in-depth case studies, the book explores the Entity Framework
story in clear, easy-to-follow detail. The infrastructure and inner workings are
highlighted as needed and where they relate to particular features.
This book clearly explains what Entity Framework can do for the reader,
without getting sidetracked in the theoretical details of implementation. It is an
ideal resource for the developer who needs to implement a solution using
Microsoft technologies and has made the decision to use the Entity Framework.
KEY POINTS
P- Strong early demand through MEAP, Manning's Early Access Program
P- Full coverage of Entity Framework features like Mapping, Querying and
Persisting objects
P- Rich in examples and tips
P- Best practices in all environments including ASP.NET, WPF, and WCF
Synopsis
Programming Data Access with the ADO.NET Entity Framework is a thorough introduction to Microsoft's new framework for building the data access layer of Windows and web applications. Written by Julia Lerman, the most recognized independent expert on the subject, the book covers not only such core framework components as the Entity Data Model (EDM) and the LINQ to Entities and Entity SQL query languages, but also shows how to put them to use in a variety of applications. Complete with scores of reusable examples, this practical guide is the book that developers need to master the next generation data access technology from Microsoft and put it to work.
Synopsis
If you use Entity Framework in Visual Studio 2008 and .NET 3.5, this is the book you want. Programming Entity Framework, 1st Edition offers experienced developers a thorough introduction to Microsoft's core framework for modeling and interacting with data in .NET applications. This hands-on tour provides a deep understanding of Entity Framework's architecture and APIs, and explains how to use the framework in a variety of applications built with Visual Studio 2008 and .NET 3.5.
From the Entity Data Model (EDM) and Object Services to EntityClient and the Metadata Workspace, this highly acclaimed first edition covers it all.
- Understand the core concepts you need to make the best use of the Entity Framework (EF) in your applications
- Learn to query your data, using either LINQ to Entities or Entity SQL
- Create Windows Forms, WPF, and ASP.NET applications
- Build ASMX web services and WCF services
- Use Object Services to work directly with your entity objects
- Delve into model customization, relationship management, change tracking, data concurrency, and more
One important note: while many of the lessons from this book will continue to be valuable as you move to .NET 4, the thoroughly revised second edition of Programming Entity Framework (August 2010) specifically targets Visual Studio 2010 and .NET 4 -- where there have been many advancements and additions to the framework.
Synopsis
Entity Framework 4 in Action is an introduction to the Entity Framework for developers working in .NET who possess a working knowledge of ADO.NET. Beginning with a review of the core ideas behind the objectrelational management (ORM) model, it outlines how Entity Framework offers a smooth transition from a traditional ADO.NET approach. Featuring numerous examples and in-depth case studies, the book explores the Entity Framework story in clear, easy-to-follow detail. The infrastructure and inner workings are highlighted as needed and where they relate to particular features.
This book clearly explains what Entity Framework can do for the reader, without getting sidetracked in the theoretical details of implementation. It is an ideal resource for the developer who needs to implement a solution using Microsoft technologies and has made the decision to use the Entity Framework.
Synopsis
If you use Entity Framework in Visual Studio 2008 and .NET 3.5, this is the book you want. Programming Entity Framework, 1st Edition offers experienced developers a thorough introduction to Microsoft's core framework for modeling and interacting with data in .NET applications. This hands-on tour provides a deep understanding of Entity Framework's architecture and APIs, and explains how to use the framework in a variety of applications built with Visual Studio 2008 and .NET 3.5.
From the Entity Data Model (EDM) and Object Services to EntityClient and the Metadata Workspace, this highly acclaimed first edition covers it all.
One important note: while many of the lessons from this book will continue to be valuable as you move to .NET 4.0, the thoroughly revised second edition of Programming Entity Framework (August 2010) specifically targets Visual Studio 2010 and .NET 4 -- where there have been many advancements and additions to the framework.
About the Author
Stefano Mostarda is an ASP.NET MVP and is a regular contributor to the largest Italian ASP.NET Community, ASPItalia.com. He has been working with the Entity Framework from its earliest betas and he co-authored Manning's Entity Framework 4 in Action.
Marco De Sanctis has been using ASP.NET since its first version. He is a senior software engineer for one of the biggest Italian companies in the IT market, a content manager at ASPItalia.com, and has recently been named a Microsoft MVP in ASP.NET. He also co-authored Manning's Entity Framework 4 in Action.
Based in Italy, Daniele Bochicchio is the founder and manager of ASPItalia.com Network, the largest Italian community for .NET developers. He trains developers and frequently speaks at local conferences. A Microsoft MVP for ASP.NET since 2002, Daniele has been using ASP.NET since its first preview in 2000. He is also a co-author of Manning's Entity Framework 4 in Action.
Table of Contents
ForewordPrefaceChapter 1: Introducing the ADO.NET Entity FrameworkChapter 2: Exploring the Entity Data ModelChapter 3: Querying Entity Data ModelsChapter 4: Exploring EDM Queries in Greater DepthChapter 5: Modifying Entities and Saving ChangesChapter 6: Using Stored Procedures with the EDMChapter 7: Tuning Up a ModelChapter 8: Data Binding with Windows Forms and WPF ApplicationsChapter 9: Working with Object ServicesChapter 10: Customizing EntitiesChapter 11: Using the ASP.NET EntityDataSource ControlChapter 12: Customizing Entity Data ModelsChapter 13: Working with Stored Procedures When Function Mapping Wont DoChapter 14: Using Entities with Web and WCF ServicesChapter 15: Working with Relationships and AssociationsChapter 16: Making It Real: Connections, Transactions, Performance, and MoreChapter 17: Controlling Objects with ObjectStateManager and MetadataWorkspaceChapter 18: Handling Entity Framework ExceptionsChapter 19: Using Your Own Custom ClassesChapter 20: Using the Entity Framework in n-Tier Client-Side ApplicationsChapter 21: Using the Entity Framework in n-Tier ASP.NET ApplicationsChapter 22: Implementing a Smarter WCF Service for Working with EntitiesChapter 23: The Entity Framework, Today and TomorrowEntity Framework Assemblies and NamespacesColophon