Presentation is loading. Please wait.

Presentation is loading. Please wait.

Shyam Pather Development Manager Microsoft Session Code: DTL402.

Similar presentations


Presentation on theme: "Shyam Pather Development Manager Microsoft Session Code: DTL402."— Presentation transcript:

1

2 Shyam Pather Development Manager Microsoft Session Code: DTL402

3 Session Objectives And Takeaways Discuss the Entity Framework Historic Perspective Improvements in Visual Studio 2010 Priorities 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.

4 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 Microsoft Entity Framework ADO.NET Data Services (Astoria) Reporting Services Analysis Services System Management Etc..

5 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 concepts Define a domain model that can map to classes & tables and that can be rationalized with other models.

6 EDM & Entity Framework? The Entity Framework (EF) is an Object Relational Modeling tool leveraging the EDM Focus 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.

7 Vote of no Confidence Entity 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, Patterns

8 Pain Points in v3.5SP1 Pluralization/Singularization Foreign Keys Model First Lazy Loading Additional LINQ Operators L2S Features & Patterns SQL Gen Improvements

9 Entity Framework Today:

10 Entity Framework in.NET 4 Improvements: Model First T4 Templates to control code generation Supporting DDD approach with POCO Persistence Ignorance Repository pattern Query Improvements Lazy Loading Disconnected API’s to enable N-tier

11 EF Basics: Getting your model from the database Plus LINQ, Databinding, and Change Tracking

12 Data Classes: T4 & POCO

13 Model First: Modeling your domain without a database

14 Feature CTPs What? Preview of features coming in a future release All built on public APIs Nothing you couldn’t do yourself Feature CTP1 POCO template Self tracking entities Code Only

15 POCO Templates T4 for Persistence Ignorance

16 Self Tracking Entities N-Tier Support

17 Code Only Just Code!

18 Entity Framework - Tomorrow We will soon ship EF 4 Beta 2 with: Foreign Key support Lazy Loading by default Etc..… We are planning a refresh of the Feature CTP around Beta 2 with: Mapping configuration inside Code Only.

19

20 My Contact Info

21 International Content & Community Resources for IT Professionals Resources for Developers 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. 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:

22 Track Resources ADO.NET Team Blog: Entity Framework Design Blog: Daniel Simmons’s Blog: Required Slide Track Owners to provide guidance. Please address any queries to your track owners. Required Slide Track Owners to provide guidance. Please address any queries to your track owners. Visual Studio Data Blog:

23 Related Content Sessions: DTL312: The ADO.NET Entity Framework: Tips & Tricks DTL312: The ADO.NET Entity Framework: Tips & Tricks DTL208: An Introduction to the ADO.NET Data Services Framework v1.5 DTL208: 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 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 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 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. 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.

24 Required Slide Complete a session evaluation and enter to win! 10 pairs of MP3 sunglasses to be won

25 © 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


Download ppt "Shyam Pather Development Manager Microsoft Session Code: DTL402."

Similar presentations


Ads by Google