04.07.2013 Views

Programming Entity Framework - Cdn.oreilly.com

Programming Entity Framework - Cdn.oreilly.com

Programming Entity Framework - Cdn.oreilly.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of Contents<br />

Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi<br />

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii<br />

1. Introducing the ADO.NET <strong>Entity</strong> <strong>Framework</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1<br />

<strong>Programming</strong> Against a Model, Not Against the Database 2<br />

The <strong>Entity</strong> Data Model: A Client-Side Data Model 3<br />

The <strong>Entity</strong> in “<strong>Entity</strong> <strong>Framework</strong>” 5<br />

Choosing Your Backend 8<br />

Available Providers 8<br />

Access and ODBC 9<br />

<strong>Entity</strong> <strong>Framework</strong> Features 9<br />

The <strong>Entity</strong> Data Model 9<br />

<strong>Entity</strong> Data Model Design Tools 9<br />

Managing Objects with Object Services 10<br />

Change Tracking 11<br />

Relationship Management 11<br />

Data Binding 12<br />

<strong>Entity</strong>Client 12<br />

The <strong>Entity</strong> <strong>Framework</strong> in Web Services 12<br />

What About ADO.NET DataSets and LINQ to SQL? 13<br />

DataSets 13<br />

LINQ to SQL 14<br />

<strong>Entity</strong> <strong>Framework</strong> Pain Points 14<br />

The <strong>Entity</strong> <strong>Framework</strong> Designer 14<br />

Challenges with Change Tracking Distributed Applications 16<br />

Domain-Driven Development 16<br />

Unit Testing 16<br />

<strong>Programming</strong> the <strong>Entity</strong> <strong>Framework</strong> 17<br />

2. Exploring the <strong>Entity</strong> Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19<br />

Why Use an <strong>Entity</strong> Data Model? 19<br />

v

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!