mvp showcase 2015 - entity framework 7 - noorm

Post on 30-Jul-2015

221 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Independent Experts – Real World Answers

Independent Experts – Real World Answers

Microsoft MVP Showcase22 Abril 2015

Entity Framework 7: NoORM(Not Only Object-Relational Mapper)Ricardo PeresMVP ASP.NET/IIS

@rjperes75

Independent Experts – Real World Answers

Ricardo PeresASP.NET/IIS

Senior Engineer @ CRITICAL SoftwareBlogger @ Development With A DotMVP @ ASP.NET/IISInterests: ASP.NET, Entity Framework, NHibernate, SharePoint

C:\> ping me @rjperes75rjperes@hotmail.com

Independent Experts – Real World Answers

Independent Experts – Real World Answers

Social Responsability Microsoft MVP Showcase22 Abril 2015

“OS DOUTORES PALHAÇOSLEVAM ALEGRIA ÀS CRIANÇAS

HOSPITALIZADAS EM PORTUGAL”

http://www.narizvermelho.pt/

Independent Experts – Real World Answers

Independent Experts – Real World Answers

Agenda What’s the story What’s new What’s changed What’s the same What’s gone What’s still not here What’s next

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s the storyV1• .NET 3.5

SP1• Model

First / Database First

V2 (4)• .NET 4• POCOs• Lazy

Loading• T4

V3 (4.1)• .NET 4• Code First• Migrations• NuGet

V4 (5)• .NET 4• Enums• Spatial• Table-

valued functions

V5 (6)• .NET 4• Interceptor

s• Logging• Async• Custom

conventions

• Stored procedures

V6 (7)• .NET 4.5.2• NoSQL• Multi

platform

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s new (1 of 2) Entity Framework 7 is the next version

of EF Built on .NET 4.5.1+ Runs on Windows Phone and Windows

Store apps, Linux and Mac Supports non-relational data stores and

in-memory

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s new (2 of 2) Batch CUDs Unique constraints More provider control of queries Smarter disconnected patterns IoC friendly Type conversions Default database values

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s changed Built-in providers include SQLite, in-

memory, Redis and Azure Table Storage Available on GitHub Different packages for different providers Code base was totally rewritten Metadata API changed a lot Improved SQL generation

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s the same Public APIs and usage NuGet deployment Some extensibility hooks Database-first approach EF 6.x will continue to exist and evolve

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s gone ObjectContext Entity-SQL Model-first Database initializers .NET 4.x Automatic migrations

Use interceptors

Use LINQ

Use database first or code first

Use migrations

Use .NET 4.5.1+ or use EF 6.x

Use explicit migrations

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s still not here Id generators Lazy loading of properties Other collection types Mapping private members

Independent Experts – Real World Answers

Independent Experts – Real World Answers

What’s next Already available @NuGet, @GitHub Not everything will be available at

once: Azure Table Storage, Redis, SQLite Windows Phone, Windows Store Complex types Lazy loading Hierarchies

Initial release != recommended release!

More information on //BUILD/ 2015

Independent Experts – Real World Answers

Independent Experts – Real World Answers

About Me Senior Engineer @ CRITICAL Software Blogger @ Development With A Dot MVP @ ASP.NET/IIS

Independent Experts – Real World Answers

Independent Experts – Real World Answers

Communities Microsoft MVP Showcase22 Abril 2015

Independent Experts – Real World Answers

Independent Experts – Real World Answers

Global Azure Bootcamp

http://gablx2015.eventday.com

(25 de Abril)

Independent Experts – Real World Answers

Independent Experts – Real World Answers

We <3 our sponsors

Independent Experts – Real World Answers

Independent Experts – Real World Answers

Agenda

Entity Framework 7: NoORM(Not Only Object-Relational Mapper)

Independent Experts – Real World Answers

Independent Experts – Real World Answers

THANK YOU !

top related