writing clean & efficient data access code with ado.net entity framework

of 21 /21
Writing Clean & efficient data access code with ADO.NET ENTITY FRAMEWORK Niraj Bhatt MVP | ASP.NET http://nirajrules.wordpress.com | [email protected]

Author: luella

Post on 13-Feb-2016

35 views

Category:

Documents


5 download

Embed Size (px)

DESCRIPTION

Writing Clean & efficient data access code with ADO.NET ENTITY FRAMEWORK. Niraj Bhatt MVP | ASP.NET http://nirajrules.wordpress.com | [email protected] I am unhappy …. Entity Framework???. Object Relational Mapper - PowerPoint PPT Presentation

TRANSCRIPT

Session Title Session Sub Title (optional)

Writing Clean & efficient data access code withADO.NET ENTITY FRAMEWORK

Niraj BhattMVP | ASP.NEThttp://nirajrules.wordpress.com | [email protected] am unhappy

Entity Framework???Object Relational MapperBridges the impedance mismatch between conceptual (object) & storage (relational) world.

STORAGE

CONCEPTUALMore than O/R mapperOSLOSQL SERVER REPORTING SERVICESSQL SERVER ANALYSIS SERVICESADO.NET DATA SERVICESAZUREEntity Framework Architecture

Creating EDMRequired Software for Demos: VS.NET 2008 SP1, .NET 3.5 SP1, SQL SERVER 2005 SP2DEMO6Exploring EDM

Querying via EntityClientRequired Software for Demos: VS.NET 2008 SP1, .NET 3.5 SP1, SQL SERVER 2005 SP2DEMO8Querying via ObjectQueryRequired Software for Demos: VS.NET 2008 SP1, .NET 3.5 SP1, SQL SERVER 2005 SP2DEMOQuerying via LINQ To EntitiesRequired Software for Demos: VS.NET 2008 SP1, .NET 3.5 SP1, SQL SERVER 2005 SP2DEMOTracking with ObjectStateManagerRequired Software for Demos: VS.NET 2008 SP1, .NET 3.5 SP1, SQL SERVER 2005 SP2DEMO11CHANGING GEARMoving to Advanced Concepts

Tracing, Concurrency, Lazy Loading, InheritanceRequired Software for Demos: VS.NET 2008 SP1, .NET 3.5 SP1, SQL SERVER 2005 SP2DEMOWhat you can expect in V2?Better integration with rest of .NET stackWPF, WCF, WF, PI Support (Persistence Ignorance)N-Tier SupportFlip switch for Lazy LoadingTable Value FunctionsImproved TracingReferencesTSQL vs. ESQLhttp://msdn.microsoft.com/en-us/library/bb738573.aspx

EF Overviewhttp://www.scip.be/index.php?Page=ArticlesNET12#EntitySQL

eSqlBlast http://code.msdn.microsoft.com/esql/Release/ProjectReleases.aspx?ReleaseId=991 ReferencesEF N-Tier Support Discussionhttp://blogs.msdn.com/efdesign/archive/2008/11/20/n-tier-improvements-for-entity-framework.aspx EF Performancehttp://blogs.msdn.com/adonet/archive/2008/02/04/exploring-the-performance-of-the-ado-net-entity-framework-part-1.aspx http://blogs.msdn.com/adonet/archive/2008/06/20/how-to-use-a-t4-template-for-view-generation.aspx

ReferencesEF V2http://mschnlnine.vo.llnwd.net/d1/pdc08/WMV-HQ/TL20.wmv EF Automatic Lazy Loading http://www.singingeels.com/Articles/Entity_Framework_and_Lazy_Loading.aspx

EF 3rd Party Providershttp://www.sybase.com/detail?id=1057559 http://pgfoundry.org/frs/shownotes.php?release_id=1230 http://sqlite.phxsoftware.com/ http://devart.com/news/2008/directs475.html Reference Blogshttp://blogs.msdn.com/jkowalski/default.aspxhttp://johnpapa.net/http://www.thedatafarm.com/blog/http://blogs.msdn.com/dsimmons/default.aspxhttp://blogs.msdn.com/adonet/default.aspxFeedback / QnAYour Feedback is Important!Please take a few moments to fill out our online feedback form

Use the Question Manager on LiveMeeting to ask your questions now!Contact Blog Addresshttp://nirajrules.wordpress.com

Email [email protected]iamvps.net

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