100 likes | 221 Vues
Discover the latest advancements in the ADO.NET Entity Framework with this insightful session. Chris Anderson and Shyam Pather from Microsoft Corporation will unveil new features in ADO.NET Entity Framework 4.0, including model-first development, lazy loading, T4 code generation, and more. Learn how these enhancements can simplify data access and improve performance. Explore best practices for integrating Entity Framework with WPF and the opportunities presented by the new features for developers. Join us to expand your knowledge and skills in data services.
E N D
FT10 Evolving the ADO.NET Entity Framework in .NET 4 and Beyond Chris Anderson Developer Microsoft Corporation ShyamPather Development Manager Microsoft Corporation
Visual Studio “Quadrant” Entity Framework Data Services ADO.NET “M”/EDM SQL Azure SQL Server … SQL Server Modeling Services
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 • ObjectStateManagercontrol • 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 at MicrosoftPDC.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/learn Built by Developers for Developers….