Your SlideShare is downloading. ×
Deep Dive into Entity Framework 6.0
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Deep Dive into Entity Framework 6.0

1,664
views

Published on

More info on http://www.techdays.be

More info on http://www.techdays.be


0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,664
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
61
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Deep Dive intoEntity Framework 6Diego VegaDeveloper LeadMicrosoft
  • 2. Deep Dive into EF6 | Agenda Runtime Open & Release Demo Post EF6 Source Designer details features
  • 3. EF Overview | What is EF? • Recommended technology to connect .NET Microsoft’s applications to databases Object/Relational • LINQ against disparate relational databases Mapper • Make .NET & Windows Azure the best platform for data centered apps Product goals • Be the most productive data access API
  • 4. EF6 | Open Source DevelopmentLook mom, it’s Open Source!!! Git repository at entityframework.codeplex.com Code under Apache 2.0 license Nightly builds available Accepting contributions  Only EF team has commit rights to repo  Contributions go through same code review process as internal changes  13 pull requests, 9 accepted Currently working to add designer to out Git repoOnly affects how we develop, not how we ship Same Microsoft branding, license, quality and support at RTM
  • 5. EF6 Runtime | Fully Out-Of-BandEF5 Runtime EF6 Runtime Core bits in .NET Framework  All classes in NuGet package  In the GAC  Core classes copied into new namespace Some bits in NuGet package  Most applications should just work with (DbContext, Code First, Migrations) recompile, some namespace changes  Providers, frameworks and tools typically  Bin-deployable need more updatesMajor features required .NET All of enums, spatial, TVFs andFramework Changes!  EF5 performance improvements now work on .NET 4! 
  • 6. EF6 Runtime | New FeaturesAsync query & save Code First improvements .NET 4.5 Only  Custom conventionsConnection resiliency (auto-retry)  CUD stored procedure mappingDependency resolution  Migrations history table customizationCode-based configuration  Multiple contexts per databaseConnection & transaction More performance improvementsmanagement in DbContext
  • 7. EF6 Tooling Unification Model First & Database First (EF Designer) Code First – Existing Database (EF Power Tools) Code First – New Database (No Tooling)
  • 8. Getting EF6Updating existing applicationsCode First Stored Procedure Mapping for CUDAsync Query and SaveCode-based configurationCustom Code First Conventions
  • 9. EF6 | Release TimelineAlpha 3 of the runtime available now on NuGet Will keep shipping preview versions every 1 or 2 months Nightly builds available from NuGet feed on MyGetEF 6 Tools preview within next couple of monthsRTM In the box in Visual Studio vNext EF6 Runtime available on NuGet  Works with VS2010/.NET 4 onwards Downloadable tooling update for Visual Studio 2012Updates to runtime and designer can be shipped between VS releases
  • 10. Post EF6 potential features - vote @ef.mswish.netEF for Windows Store Apps with More flexible LINQ translationSQLite for local data  Implicit boundaries Also Windows Phone support?  Expression variables supportBatch updates Data caching (2nd level cache)SQL generation improvements First class DDD aggregatesMore flexible mapping Disconnected graphs support Mapping to fields SQL Federations & Sharding Type conversions Micro-O/RM-like capabilities Shadow state Unique constraints Untyped objects Serializing to BLOB columns Query hintsLifecycle hooks ???
  • 11. EF | ResourcesLearn Follow us msdn.com/data/ef  @efmagicunicornsContribute  @divega entityframework.codeplex.com  facebook.com/efmagicunicornsVote  blogs.msdn.com/adonet ef.mswish.net  blogs.msdn.com/diego