ADO.NET Entity Framework

15
1 ADO.NET Entity Framework Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://www.miketaulty.com

description

ADO.NET Entity Framework

Transcript of ADO.NET Entity Framework

Page 1: ADO.NET Entity Framework

1

ADO.NET Entity Framework

Mike TaultyDeveloper & Platform GroupMicrosoft [email protected] http://www.miketaulty.com

Page 2: ADO.NET Entity Framework

Entity Framework – Key Facts

Extension to the ADO.NET Provider ModelPluggable to support any database

FunctionalityAbstracts a model from your store schemaOffers Object Relational Mapping/LINQ and ADO.NET APIs

StatusReleased yesterday with Visual Studio 2008 Sp1

Page 3: ADO.NET Entity Framework

ADO.NET Entity Framework

SQL Provider Oracle Provider ...

Entity Provider

Conceptual Model

Store Model

Map

ADO.NET API ORM API

Connection

Command

DataReader

ObjectContext

ObjectQuery

Page 4: ADO.NET Entity Framework

ADO.NET API

ADO.NET Entity Framework

SQL Provider Oracle Provider ...

Entity Provider

Conceptual Model

Store Model

Map

ORM API

Page 5: ADO.NET Entity Framework

LINQ to SQL? LINQ to Entities?

Page 6: ADO.NET Entity Framework

6

Programming EF with LINQ

Page 7: ADO.NET Entity Framework

Key Classes

StateManagement

Connectionprovider

MetadataMSL SSDLCSDL

CRUD

Page 8: ADO.NET Entity Framework

LINQ to Entities – Lots of Topics

Page 9: ADO.NET Entity Framework

ORM APIADO.NET API

ADO.NET Entity Framework

SQL Provider Oracle Provider ...

Entity Provider

Conceptual Model

Store Model

Map

Page 10: ADO.NET Entity Framework

10

Mapping our Model

Page 11: ADO.NET Entity Framework

ORM API

ADO.NET Entity Framework

SQL Provider Oracle Provider ...

Entity Provider

Conceptual Model

Store Model

Map

ADO.NET API

Page 12: ADO.NET Entity Framework

12

Entity SQL and ADO.NET

Page 13: ADO.NET Entity Framework

EF Providers in Progress

Page 14: ADO.NET Entity Framework

Resources

New Data Developer Sitehttp://www.datadeveloper.net

ADO.NET Team Bloghttp://blogs.msdn.com/adonet

My website http://www.miketaulty.com ( search Entity )

Page 15: ADO.NET Entity Framework

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.