sql server sql azure visual studio“quadrant” sql server modeling services entity framework...
TRANSCRIPT
Evolving the ADO.NET Entity Framework in .NET 4 and Beyond
Shyam PatherDevelopment ManagerMicrosoft Corporation
FT10
Chris AndersonDeveloperMicrosoft
Corporation
SQLServer
SQLAzure
Visual Studio “Quadrant”
SQL Server Modeling Services
Entity Framework
ADO.NET “M”/EDM
Data Services
…
How many new features can we
demo in one session?
New in ADO.NET Entity Framework 4.0> Model-first development> Automatic pluralization> Foreign keys in models> POCO class support> Lazy loading> T4 Code Generation> Template customization> IObjectSet> Virtual SaveChanges> ObjectStateManager control
> Self-tracking entities> SQL generation
improvements> More LINQ operator support> LINQ extensibility> ExecuteStoreQuery> ExecuteStoreCommand> SPROC import improvements> Model defined functions> WPF designer integration> Code-Only development
(Feature CTP)
Pit of Success> start with the database
> “database is the truth”> why? it already exists, or you want low level control over
the database> what? import model into edmx and tweak
> start with an edmx model> “edmx is the truth”> why? you want separation from code and database in a
declarative format> what? create a model and tweak
> start with .net classes> “code is the truth”> why? primarily focused on code shape, database is an
implementation detail> what? define classes in code, adjust shape using
contextbuilder
Call to Action
> Visit the Data Developer Center> http://msdn.microsoft.com/data
> Install .NET 4 Beta 2> Install the EF Feature CTP 2
> Both available from http://msdn.microsoft.com/data
> Gives us feedback> http://blogs.msdn.com/adonet> http://blogs.msdn.com/efdesign
YOUR FEEDBACK IS IMPORTANT TO US!
Please fill out session evaluation
forms online atMicrosoftPDC.com
Learn More On Channel 9
> Expand your PDC experience through Channel 9
> Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses
channel9.msdn.com/learnBuilt by Developers for Developers….
© 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.