Shyam Pather spathermicrosoftcom Development Manager Microsoft Session Code DTL402 Session Objectives And Takeaways Discuss the Entity Framework Historic Perspective Improvements in Visual Studio 2010 ID: 402872
Download Presentation The PPT/PDF document "The ADO.NET Entity Framework 4" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
The ADO.NET Entity Framework 4
Shyam Pather (spather@microsoft.com)
Development Manager
Microsoft
Session Code: DTL402Slide3
Session Objectives And TakeawaysDiscuss the Entity FrameworkHistoric PerspectiveImprovements in Visual Studio 2010Priorities
Post Visual Studio 2010
Key Takeaways
Entity Framework is responding to customer feedback and is ready for prime time.Microsoft is investing in a modeling platform and Entity Framework will be the ORM stack for your model.
This slide is required.
Do NOT delete
.
Please expand notes window at bottom of slide and read. Then Delete this text box.Slide4
History of the Entity Data Model Object Spaces, Microsoft Business Framework and WinFS were pre-Entity Framework development efforts
The
Entity Data Model
(EDM) emerged out of this as a way to unify data models across MicrosoftEntity Framework
ADO.NET Data Services (Astoria)
Reporting Services
Analysis Services
System Management
Etc..Slide5
What is this EDM thing?Describe your model using basic concepts of “Entity” and “Association”
Entity represents a “Thing”
Association represents the “Relationship” between these Entities
EDM builds on these two conceptsDefine a domain model that can map to classes & tables and that can be rationalized with other models. Slide6
EDM & Entity Framework?The Entity Framework (EF) is an Object Relational Modeling tool leveraging the EDMFocus on your domain, not how to persist!EDM is used to describe your model.
Allows different
rate of change
between database and code!EF uses a storage model and mapping to enable this.Slide7
Vote of no ConfidenceEntity Framework in 3.5 SP1 is:Too complex. Too many steps are required.Too many restrictions. I want control over my code.Not in sync with the way I work: TDD, N-Tier, PatternsSlide8
Pain Points in v3.5SP1Pluralization/SingularizationForeign KeysModel FirstLazy LoadingAdditional LINQ OperatorsL2S Features & Patterns
SQL Gen ImprovementsSlide9
Entity Framework Today:Improved CommunicationEntity Framework Team Blog http://blogs.msdn.com/adonet/
Entity Framework Design Blog
http://blogs.msdn.com/efdesign/
P&P Guidance http://dataguidance.codeplex.com/Increase feedback through Feature CTPsSlide10
Entity Framework in .NET 4Improvements:Model FirstT4 Templates to control code generationSupporting DDD approach with POCO Persistence IgnoranceRepository pattern
Query Improvements
Lazy Loading
Disconnected API’s to enable N-tier Slide11
EF Basics: Getting your model from the databasedemoPlus LINQ, Databinding, and Change TrackingSlide12
Data Classes: T4 & POCOdemoSlide13
Model First: Modeling your domain without a databasedemoSlide14
Feature CTPsWhat?Preview of features coming in a future releaseAll built on public APIsNothing you couldn’t do yourselfFeature CTP1POCO templateSelf tracking entities
Code OnlySlide15
POCO Templatesdemo T4 for Persistence IgnoranceSlide16
Self Tracking Entitiesdemo N-Tier SupportSlide17
Code Onlydemo Just Code!Slide18
Entity Framework - TomorrowWe will soon ship EF 4 Beta 2 with:Foreign Key supportLazy Loading by defaultEtc..…We are planning a refresh of the Feature CTP around Beta 2 with:Mapping configuration inside Code Only. Slide19
question & answerSlide20
My Contact Infospather@microsoft.comSlide21
www.microsoft.com/teched
International Content & Community
http://microsoft.com/technet
Resources for IT Professionals
http://microsoft.com/msdn
Resources for Developers
www.microsoft.com/learning
Microsoft Certification & Training Resources
Resources
Required Slide
Speakers,
TechEd 2009 is not producing
a DVD. Please announce that
attendees can
access session
recordings from Tech-Ed website. These will only be available after the event.
Tech
·Ed
Africa 2009 sessions will be made available for download the week after the event from:
www.tech-ed.co.zaSlide22
Track ResourcesADO.NET Team Blog: http://blogs.msdn.com/adonet/Entity Framework Design Blog: http://blogs.msdn.com/efdesign/Daniel Simmons’s Blog: http://blogs.msdn.com/dsimmons/
Required Slide
Track Owners
to provide guidance.
Please address any queries to your track owners.
Visual Studio Data Blog: http://blogs.msdn.com/vsdata/Slide23
Related ContentSessions:DTL312: The ADO.NET Entity Framework: Tips & TricksDTL208: An Introduction to the ADO.NET Data Services Framework v1.5
DTL401: How LINQ Works: A Deep Dive into the Microsoft Visual Basic and C# Implementations
Whiteboard Sessions:
WTB211: A Strategic Comparison of Data Access Technologies from Microsoft
Hotlabs
:
DTL20H: Application Development with the ADO.NET Entity Framework in the Microsoft .NET Framework 4
Required Slide
Speakers,
please list the Breakout Sessions,
TLC Interactive Theaters and Labs
that are related to your session. Any queries, please check with your Track Owner.Slide24
Required Slide
Complete a session evaluation and enter to win!
10 pairs of MP3
sunglasses
to be
wonSlide25
©
2009 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.
Required Slide