Download presentation
Presentation is loading. Please wait.
Published byAllyson Merritt Modified over 8 years ago
1
Tim Laverty – timlav@microsoft.com Diego Vega – diego.vega@microsoft.com Program Managers Microsoft Corporation SESSION CODE: DEV305
7
Data Access Framework Database Business logic, UI, etc. Repository Data Access Framework Database
10
Repository ObjectContext Database Business logic, UI, etc. Fake Repository In-memory data Real Repository Fake for context interface In-memory data
13
Data Access Database Presentation Business logic
18
EF Startup Loads Model Metadata Generates EF Query Views (or upon first query) First Time Query Execution EF Query Translation EF Query Caching Manual with LINQ queries. Result Shaper Caching
19
Expensive 1 st time Cached Compile Query Large data No Updates! Projection Separate Queries EF offers fixup Stored Procs/Views Not Composable Round trips Lazy Loading Multiple Queries Connection Overuse Danger! Use Include No Updates! Use NoTracking
21
Come to the Data Development station in the DAT Track Area (yellow section of the TLC) to register for a Zune HD give-away!
22
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
23
www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn
25
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.