Whats New In Entity Framework 4
Upcoming SlideShare
Loading in...5
×
 

Whats New In Entity Framework 4

on

  • 6,951 views

Entity Framework 4 in .NET 4.0

Entity Framework 4 in .NET 4.0

Statistics

Views

Total Views
6,951
Views on SlideShare
6,553
Embed Views
398

Actions

Likes
1
Downloads
0
Comments
0

11 Embeds 398

http://aspnetcsharp4.blogspot.com 281
http://aspnetcsharp4.blogspot.in 53
http://www.slideshare.net 48
http://aspnetcsharp4.blogspot.co.uk 6
http://aspnetcsharp4.blogspot.ca 2
http://www.linkedin.com 2
http://aspnetcsharp4.blogspot.de 2
http://aspnetcsharp4.blogspot.com.au 1
http://webcache.googleusercontent.com 1
http://aspnetcsharp4.blogspot.hk 1
http://aspnetcsharp4.blogspot.hu 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Whats New In Entity Framework 4 Whats New In Entity Framework 4 Presentation Transcript

  • Visual Studio 2010 and .NET Framework 4 Training Workshop
  • What’s New In ADO.NET Entity Framework 4 Name Title Organization Email
  • 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?
  • Pluralization (v1)
  • Pluralization (v4)
  • Model-First Database Generated First (v1) Existing Entity Data Database Model Model Entity Data Generated First (v4) Model Database
  • Complex Types VS. 1) 1:1 DB Mapping 1) Flexibility from DB shape 2) Could get “crowded” 2) Nicely “organized”
  • Tooling Enhancements
  • POCO Class Definition Everything Navigation Property Definition Scalar Property Definition
  • 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
  • Foreign Keys In theory this looks reallyperfect! This is good In theory this also looks really good
  • POCO Lazy Loading Foreign Keys
  • Model-Defined Functions Entity SQL Block Umm, I’d rather be using LINQ…
  • N-Tier 1) Get Product Web Service Database 2) Update Product 2) Make Changes Combines power of: 1) DataSet 2) DTOs
  • Model-Defined Functions N-Tier
  • 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