ado.net entity framework mike taulty developer & platform group microsoft ltd...

of 19 /19
ADO.NET Entity Framework Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://www.mtaulty.com

Author: dortha-jenkins

Post on 13-Jan-2016

225 views

Category:

Documents


2 download

Embed Size (px)

TRANSCRIPT

  • ADO.NET Entity FrameworkMike TaultyDeveloper & Platform GroupMicrosoft [email protected] http://www.mtaulty.com

  • ADO.NET Entity FrameworkExtension to the ADO.NET provider modelFunctionalityProgram against an abstracted model of your store schemaUse traditional ADO.NET API or ORM/LINQSlated to ship mid 2008Currently at Beta 3, Tooling at CTP 2Downloadable in ASP.NET 3.5 Extensions Preview

  • Quick Demo to Defer Boredom

  • Entity Framework Architecture

  • Tools, SSDL, MSL, CSDL

  • Programming with Entity SQLThe EntityClient provides the usualConnection, Command, DataReaderThere is no EntityDataAdapter V1.0 the model is read-onlyEntity SQL has some additional constructs to expose the underlying conceptual model e.g.;

  • Programming with Entity Client

  • Mapping Examples ( 1 Splitting )MappingType=GType=B

  • Mapping Examples ( 2 TPH )StoreEntitiesMappingPremiumCustomerOverdraftAccountManager* Framework also supports TPT

  • Mapping Examples ( 3 View + SPs )StoreEntitiesMappingClientView1select c.id, c.namefrom customers cwhere c.country = UKp_DeleteUkCustomerp_UpdateUkCustomerp_InsertUkCustomer

  • Querying with Entity SQL

  • Programming with LINQ to EntitiesNew Data Access ORM API implemented in assemblySystem.Data.Entity.dllSystem.Data.Entity.Design.dllMany NamespacesSystem.Data.EntitySystem.Data.Objectsand many more...ORM API can be used with or without LINQ

  • Key Classes

  • LINQ to Entities Possible Topics

  • LINQ to Entities

  • ResourcesDownload ASP.NET 3.5 Extensions Previewhttp://www.asp.net ADO.NET Team Bloghttp://blogs.msdn.com/adonet Search for entity onhttp://mtaulty.com

  • UpdatesGo here to download the latest version of this slide-deckhttp://mtaulty.com/downloads/dw08.zip

  • MSDN in the UKVisit http://msdn.co.uk NewsletterEventsScreencastsBlogs

    2007 Microsoft Ltd. 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.

    *******************