Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tim Laverty – Diego Vega – Program Managers Microsoft Corporation SESSION CODE: DEV305.

Similar presentations


Presentation on theme: "Tim Laverty – Diego Vega – Program Managers Microsoft Corporation SESSION CODE: DEV305."— Presentation transcript:

1 Tim Laverty – timlav@microsoft.com Diego Vega – diego.vega@microsoft.com Program Managers Microsoft Corporation SESSION CODE: DEV305

2

3

4

5

6

7 Data Access Framework Database Business logic, UI, etc. Repository Data Access Framework Database

8

9

10 Repository ObjectContext Database Business logic, UI, etc. Fake Repository In-memory data Real Repository Fake for context interface In-memory data

11

12

13 Data Access Database Presentation Business logic

14

15

16

17

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

20

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

24

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

26

27

28


Download ppt "Tim Laverty – Diego Vega – Program Managers Microsoft Corporation SESSION CODE: DEV305."

Similar presentations


Ads by Google