1 / 7

Current State of Entity Framework: Exploring Features and Versions from EF 1 to EF 5.0

This comprehensive overview examines the evolution of Entity Framework, highlighting its significant versions from EF 1, shipped with .NET 3.5 SP1, to the latest EF 5.0 requiring .NET 4.5. We delve into key features such as Database First, Model First, Code First workflows, POCO, migrations, and the introduction of DbContext API. The framework’s adaptations for Visual Studio and NuGet distribution are also discussed, providing insights into its production readiness and the migration pathways for developers.

abia
Télécharger la présentation

Current State of Entity Framework: Exploring Features and Versions from EF 1 to EF 5.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to(the current state of)Entity FrameworkLevel 100 TolgaBalci

  2. State of Entity Framework EF 4.3 (Current) • EF 1 • Shipped with .NET 3.5 SP1 • Features: • Basic ORM support • Database FirstWorkflow • EF 4 • Shipped with .NET 4.0 and VS 2010 • Features: • Model First Workflow • POCO, FKs, Lazy Loading, T4 Code Generation, … EF 4.1 (Magic Unicorn) EF 4 (.NET 4.0) EF 1 (.NET 3.5 SP1)

  3. State of Entity Framework EF 4.3 (Current) • EF 4.1 • Features: • Code FirstWorkflow • DbContext API • GAC Installed • EF 4.3 • Features: • Migrations • NuGet only distribution model • EF 5.0 • Will require .NET 4.5 and ship with VS 11 EF 4.1 (Magic Unicorn) EF 4 (.NET 4.0) EF 1 (.NET 3.5 SP1)

  4. Production Ready? • State of Linq to SQL • Choice for Microsoft teams • Move forward choice • EF on second version - New API on first version

  5. Developer Workflows Designer Centric Code Centric New Database • Model First • Create .edmx model in designer • Generate database from .edmx • Classes auto-generated from .edmx • Code First • Define classes & mapping in code • Database auto-created at runtime Existing Database • Database First • Reverse engineer .edmx model • Classes auto-generated from .edmx • Code First • Define classes & mapping in code(Reverse engineer tools available)

  6. Demo

  7. Links • Channel9.msdn.com • Visual Studio Toolbox: Entity Framework Part 1 and 2 • msdn.com/data/EF • Get Started Resources • Code First • Model & Database First • Code First & Migrations • Many Videos

More Related