Tim Laverty – Diego Vega – Program Managers Microsoft Corporation SESSION CODE: DEV305
Data Access Framework Database Business logic, UI, etc. Repository Data Access Framework Database
Repository ObjectContext Database Business logic, UI, etc. Fake Repository In-memory data Real Repository Fake for context interface In-memory data
Data Access Database Presentation Business logic
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
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
Come to the Data Development station in the DAT Track Area (yellow section of the TLC) to register for a Zune HD give-away!
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year