Download presentation
Presentation is loading. Please wait.
2
Darren Neimke and Jonathan Ruckert
A Lap Around, Over, and Under EF7 Darren Neimke and Jonathan Ruckert DEV322A
3
Goals of this session are:
Understand what EF7 is and why it is needed Provide an overview of the fundamental changes Look at new Migration scenarios Understand configuration and DI subsystem Learn how to troubleshoot and diagnose issues
4
The vNext Ecosystem
5
Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
What is EF7? New code base Run on .NET Core More modular design
Microsoft Ignite 2015 9/22/2018 3:53 PM What is EF7? Milestone Release Date Beta7 31 Aug 2015 Beta8 5 Oct 2015 RC1 Nov 2015 7.0.0 Q1* 2016 New code base Run on .NET Core More modular design © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
What’s not in the first release?
Microsoft Ignite 2015 9/22/2018 3:53 PM What’s not in the first release? Sproc mapping Lazy Loading Update model from database Custom conventions Non-relational providers Azure Table Storage, Redis © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
When to use EF7? New apps that are OK with the limitations
Microsoft Ignite 2015 9/22/2018 3:53 PM When to use EF7? New apps that are OK with the limitations Apps that don’t target full .NET MS not recommending that you upgrade existing EF6 apps unless you need the new functionality © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Demo – Bootstrapping a Project with EF7
Microsoft Ignite 2015 9/22/2018 3:53 PM Demo – Bootstrapping a Project with EF7 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Using EF7 Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Demo – Running queries Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Migrations Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
Demo – Migrating Data Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
14
Low-Level Migration Scenarios
Microsoft Ignite 2015 9/22/2018 3:53 PM Low-Level Migration Scenarios Namespace Microsoft.Data.Entity.Migrations.Design { public class CSharpMigrationOperationGenerator private readonly CSharpHelper _code; public CSharpMigrationOperationGenerator([NotNull] CSharpHelper codeHelper) Check.NotNull(codeHelper, nameof(codeHelper)); © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
15
Configuration and Diagnostics
Microsoft Ignite 2015 9/22/2018 3:53 PM Configuration and Diagnostics © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
16
Demo – Logging Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
17
Testing Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
18
Demo – InMemory Provider
Microsoft Ignite 2015 9/22/2018 3:53 PM Demo – InMemory Provider © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
19
Questions? Microsoft Ignite 2015 9/22/2018 3:53 PM
© 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
20
Complete your session evaluation on My Ignite for your chance to win one of many daily prizes.
21
Continue your Ignite learning path
Microsoft Ignite 2015 9/22/2018 3:53 PM Continue your Ignite learning path Visit Microsoft Virtual Academy for free online training visit Visit Channel 9 to access a wide range of Microsoft training and event recordings Head to the TechNet Eval Centre to download trials of the latest Microsoft products © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.