techdays 2010 portugal - entity framework 4.0 and beyond

Post on 17-Dec-2014

1.018 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

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

DEV415

Nuno Godinho

Partner & CTO @ ITech4All

nuno.godinho@itech4all.com

@NunoGodinho

Nuno Filipe GodinhoPartner & CTO @ ITech4all

Mail: Nuno.Godinho@itech4all.comNuno.Godinho@sapo.pt

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

Twitter: @NunoGodinho

About Me

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

Agenda

Introduction

SQLServer

SQLAzure

Visual Studio “Quadrant”

SQL Server Modeling Services

Entity Framework

ADO.NET “M”/EDM

Data Services

New Features

DemoHow many new features can we demo in one session?

• 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)

New Features

• 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

Futures

Q & A

top related