EF 1

italiansaucySoftware and s/w Development

Dec 13, 2013 (3 years and 9 months ago)

76 views

Tolga

Balci


EF 1



Shipped with .NET 3.5 SP1


Features:


Basic ORM support


Database
First

Workflow



EF 4



Shipped with .NET 4.0 and VS 2010


Features:


Model First

Workflow


POCO, FKs, Lazy Loading, T4 Code Generation,




EF
4.1


Features:


Code First

Workflow


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



State of
Linq

to SQL


Choice for Microsoft teams


Move forward choice


EF on second version
-

New API on first version

Existing

Database

New

Database

Database First


Reverse engineer .
edmx

model


Classes auto
-
generated from .
edmx

Model First


Create .
edmx

model in designer


Generate database from .
edmx


Classes auto
-
generated from .
edmx

Code First


Define classes & mapping in code

(Reverse engineer tools available)

Code First


Define classes & mapping in code


Database auto
-
created at runtime

Designer Centric

Code Centric

Developer Workflows



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