This document outlines the objectives and content for a training workshop on the new features of ADO.NET Entity Framework 4. The workshop will cover enhancements to the EDM tooling including improved support for Model-First development and Complex Types. It will also demonstrate how the Entity Framework runtime is now more fully-featured through the addition of POCO classes, Lazy Loading, Foreign Keys, Model-Defined Functions, and improved N-Tier capabilities. Alternative development styles such as Code-First and Database-First are also enabled.
2. What’s New In ADO.NET
Entity Framework 4
Name
Title
Organization
Email
3. Objectives
• How has the EDM toolset been enhanced?
• What alternative development styles are enabled?
• How is the EF easier to use?
• How is it more fully-featured?
• Does EF 4 address any issues you had with it?
10. Lazy Loading
1) Get Product Get Product
Explicit
2) Access
Category Get Category Database
3) Get Category
Get Product
1) Get Product
Implicit
2) Access Get Category Database
Category
11. Foreign Keys
In theory this
looks reallyperfect!
This is good
In theory this also
looks really good
16. Summary
• The EDM tooling has been enhanced…
• Model-First
• Complex Types
• The EF runtime is more fully featured…
• POCO
• Lazy Loading
• Foreign Keys
• Model-Defined Functions
• N-Tier