Entity Framework 7 Who Are You & What Have You Done to my ORM?

Slides:



Advertisements
Similar presentations
Entity Framework Code First Migrations
Advertisements

Object Relational Mapping – ORM Entity Framework
My first computer: The Apple ][ It wanted to be programmed.
Shyam Pather Development Manager Microsoft Session Code: DTL402.
Jeff Derstadt Senior Development Lead Microsoft Corporation Patterns & Architecture.
Domain-Driven Design Fundamentals Automated Testing for Fraidy Cats Like Me Getting Started with Entity Framework 5 Entity Framework in the Enterprise.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
05 | Data Access with Entity Framework Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Introduction to ADO Entity Framework ir Denis VOITURON Source:
How WebMD Maintains Operational Flexibility with NoSQL Rajeev Borborah, Sr. Director, Engineering Matt Wilson – Director, Production Engineering – Consumer.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Web & Cloud Development Jason Keicher - Microsoft.
Entity Framework Code First End to End
.NET Database Technologies: Entity Framework additional notes – part 2.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
LINQ Boot Camp ADO.Net Entity Framework Presenter : Date : Mahesh Moily Nov 26, 2009.
Entity Framework, a quickstart Florin−Tudor Cristea, Microsoft Student Partner.
Intro to Entity Framework By Shahed Chowdhuri Don’t drown in database design during WakeUpAndCode.com.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
1 CONFIDENTIAL.NET FEATURES OVERVIEW C# 6 ASP.NET 5 DNX PROJECT ASP.NET MVC 6 EF 7 A UGUST 4, 2015.
Website s Azure Websites is an enterprise class cloud solution for developing, testing and running web apps. Azure Websites allows you to focus on what.
Entity Framework Code First – Beyond the Basics Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant.
EntityFrame work and LINQ CH 14. linq LINQ enables you to query data from a wide variety of data sources, directly from your programming code. LINQ is.
Ventsislav Popov Crossroad Ltd.. 1. ASP.NET Data Source Controls  SqlDataSource  EntityDataSource  ObjectDataSource 2. Entity Data Model and ADO.NET.
Data Access Layer Shahed Chowdhuri Using Code-First Migrations.
Domain-Driven Design for the Database-Driven Mind
Entity Framework 7: What’s New? Ricardo Peres Technical Evangelist at Simplifydigital. Microsoft
ASP.NET 5 Unleashed Javier Lozano
Stuart Leitch “Code First” & DbContext.
2 Behind every great site, there is great data Eric Nelson Developer Evangelist Microsoft UK
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
The Holmes Platform and Applications
Top 10 Entity Framework Features Every Developer Should Know
Introduction to Entity framework
Introduction to .NET Florin Olariu
Introduction to Entity Framework
Entity Framework 4 Deep Dive
5/15/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
What’s new in Entity Framework Core 2.0
Entity Framework: Code First
Data centric apps for web, desktop and mobile with EF5
 .NET CORE
Did your feature got in, out or planned?
Entity Framework By: Casey Griffin.
A Tour of EF Core’s Most Interesting & Important Features
Entity Framework Core for Enterprise Applications
Learn. Imagine. Build. .NET Conf
Entity Framework Core*
ADO.NET Entity Framework
ADO.NEXT Advances in Data Access for 2008
Microsoft Build /15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
An Introduction to Entity Framework
Entity Framework Core.
Microsoft Connect /1/2018 2:36 AM
Entity Framework Core (EF Core)
Technical Capabilities
What’s new in ASP.NET Core and Entity Framework 2.2 (Preview 3)
From Development to Production: Optimizing for Continuous Delivery
IT College 2016, Andres käver
Entity Framework Core for Enterprise Applications
TechEd /3/ :48 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
C# - EF Core IT College, Andres Käver, , Fall semester
From Development to Production: Optimizing for Continuous Delivery
Introducing Scenario Network Data Editing and Enterprise GIS
Implementing Entity Framework with MVC Jump Start
Visual Studio + SQL Server Is Better
Data Access in .NET Core 3.0 Applications
Introduction to ASP.NET Parts 1 & 2
Presentation transcript:

Entity Framework 7 Who Are You & What Have You Done to my ORM? Julie Lerman theDataFarm.com @julielerman

My Courses on Getting Started with EF6 Domain-Driven Design Fundamentals Looking Ahead to Entity Framework 7 EF6 Ninja Edition: What’s New in EF6 Automated Testing for Fraidy Cats Like Me Getting Started with Entity Framework 5 Entity Framework in the Enterprise Entity Framework Code First Migrations Data Layer Validation with Entity Framework 4.1+ Entity Framework 4.1 - DbContext Data Access Entity Framework 4.1 - Code First Querying the Entity Framework Designer Supported EDM Customization Entity Framework and Data Models Entity Framework 4.0 By Example

LET’S CODE

EF 1-6 so much technical debt!

EF7 A complete rewrite Familiar APIs Better APIs Not backwards compatible

“New Platforms, New Data Stores” Features We’ve Longed For Object Context EDMX

EF7 Won’t Require Full .NET Framework Core CLR/DNX Cross Plat DNX Windows 10 UAP & Full .NET Framework ASP.NET 5 Windows 8 Phone & Store (not in 7.0.0)

Lean & Composable Just get what you need! Redis Support for Relational providers Redis provider for EF7 System. Interactive.Async EF7 Core SQL Server provider for EF7 SQLite Provider Azure Table Storage provider for EF7 In-Memory provider for EF7 System.Data. Common Support for Migrations Some NoSQL Provider Some Other NoSQL Provider Lean & Composable Just get what you need! Github Dev Branch

EF7 Progress & Releases Light Weight New Features EF6 Parity Non- RDMS EF7 Future Release EF7 for ASP.NET5 v7.0.0 EF7 Goals Light Weight New Features EF6 Parity Non- RDMS Light Weight (Most) New Features (Some) EF6 Parity Light Weight New Features EF6 Parity Non- RDMS Beta8 Oct 2015 RC1 Nov 2015 EF7.0.0 ASPNet5 1.0.0 Q1 2016 EF6 remains default EntityFramework EF6 Support Continues EF7 becomes default EntityFramework Features best for web apps

EF7.Later When EF7 Becomes “The EF” Complex Types (for Value Object support) Explicit Loading Richer Logging Deeper change tracking API (e.g. Entry support for props, relationships) Stored Procedure Mappings (for SaveChanges) Connection Resiliency

Data Stores Relational Databases Non-Relational Providers SQL Server SQLite for Device & Cross Platform Support SQL Compact (ErikEJ) Adding PostgreSQL (npgsql) Data Stores Non-Relational Providers NoSQL (proof of concept: Azure Table Storage) In-Memory (for integration testing w EF, not DB) Redis Cache (proof of concept) More . . .

ORM with NoSQL WAT?

Entity Model DbContext API Migrations LINQ to Entities Change Tracking Familiar APIs Entity Model DbContext API Migrations LINQ to Entities Change Tracking SaveChanges

Code Based Modeling Only DbContext API Only Simpler Metadata API Lighter Weight API Code Based Modeling Only Reverse engineer database still supported DbContext API Only Lower level functions from ObjectContext will be in DbContext Simpler Metadata API Losing some edge case mapping capabilities

Enable Long-Requested Features Batch CUD Unique Constraints* Client & Server Query Evaluation Shadow State for Entities In-Memory Provider for Fakes & Test Doubles IOC Friendly Type Conversions Default Database Values More @ data.uservoice.com Enable Long-Requested Features

Some Changes Fluent Relationshi ps Raw SQL HasMany, HasOne, WithMany, WithOne Replaced Has/With Many, Optional, Required Raw SQL FromSQL(xxxxxxxxxxxx) Composable FromSQL(xxxxxxx).LinqMethod() Runtime Database Initialization EnsureCreated, EnsureDeleted No More DbInitializers

Help for Disconnected Graphs in EF7 Apply to everything in graph Enum parameter to affect just the root Add Attach *Update* Affects only the root DbContext .Entry.State Specify state for graph or your own behavior for graph or per node DbContext .ChangeTracker. TrackGraph Familiar APIs New Behavior New API

Post EF 7.0.0 Explicit Loading DbSet.Find Inheritance (see Roadmap! github.com/aspnet/EntityFramework/wiki/Roadmap)

Biggest Planned Feature Cuts EDMX Support ObjectContext API Entity SQL Metadata Workspace API Overly Complex Mappings MEST (Multiple Entities for Single Type) Mapping Automatic Migrations DbInitalization

Resources github.com/aspnet/entityframework github.com/aspnet/EntityFramework/wiki/Roadmap My Pluralsight course on EF7: bit.ly/PS-EF7Alpha January 2016 MSDN Mag Deep Dive into EF7 Migrations

Julie Lerman Email: julielerman@gmail.com Web: theDataFarm.com Twitter: @julielerman