techdays 2010 portugal - entity framework 4.0 and beyond

14
Evolução da Entity Framework 4.0 e o seu futuro DEV415 N uno Godinho Partner & CTO @ ITech4All [email protected] @NunoGodinho

Upload: nuno-godinho

Post on 17-Dec-2014

1.018 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

Evolução da Entity Framework 4.0 e o seu futuro

DEV415

Nuno Godinho

Partner & CTO @ ITech4All

[email protected]

@NunoGodinho

Page 2: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

Nuno Filipe GodinhoPartner & CTO @ ITech4all

Mail: [email protected]@sapo.pt

Blogs: http://pontonetpt.com/blogs/nunogodinhohttp://xamlpt.com/blogs/nunogodinhohttp://weblogs.asp.net/nunogodinhohttp://msmvps.org/blogs/nunogodinho

Twitter: @NunoGodinho

About Me

Page 3: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

• Introduction• New Features• Possible Routes• Future• Q&A

Agenda

Page 4: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

Introduction

Page 5: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

SQLServer

SQLAzure

Visual Studio “Quadrant”

SQL Server Modeling Services

Entity Framework

ADO.NET “M”/EDM

Data Services

Page 6: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

New Features

Page 7: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

DemoHow many new features can we demo in one session?

Page 8: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

• Model-first development• Automatic pluralization• Foreign keys in models• POCO class support• Lazy loading• T4 Code Generation• Template customization• IObjectSet• Virtual SaveChanges• ObjectStateManager control

New in Entity Framework 4.0

• Self-tracking entities• SQL generation

improvements• More LINQ operator

support• LINQ extensibility• ExecuteStoreQuery• ExecuteStoreCommand• SPROC import

improvements• Model defined functions• WPF designer integration• Code-Only development

(Feature CTP)

Page 9: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

New Features

Page 10: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

• start with the database• “database is the truth”• why? it already exists, or you want low level control over the

database• what? import model into edmx and tweak

• start with an edmx model• “edmx is the truth”• why? you want separation from code and database in a

declarative format• what? create a model and tweak

• start with .net classes• “code is the truth”• why? primarily focused on code shape, database is an

implementation detail• what? define classes in code, adjust shape using

contextbuilder

Possible Routes

Page 11: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

Futures

Page 12: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond

Q & A

Page 14: TechDays 2010 Portugal - Entity Framework 4.0 and Beyond