Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Migrating EDMX projects to Entity Framework Core

Play Migrating EDMX projects to Entity Framework Core
Sign in to queue

Description

Many projects have used the EDMX files and the EF Designer to generate their models with Entity Framework. However, Entity Framework Core has not added support for EDMX generation. So what do you if you want to port your EF projects to EF Core?

In this episode, Entity Framework PM Diego Vega joins Christos to give us a thorough walkthrough of porting an Entity Framework EDMX model over to Entity Framework Core

 

Useful Links

 

Embed

Download

The Discussion

  • User profile image
    Flem100
    Thank you for this! Very important that we don't have to switch to ef core at the same time we switch to .netcore. That we can split the conversion into 2 steps, helps a lot!

    And thank you EF power tools.

    May I ask for the reason(s) for NOT having the edmx anymore? It's sooo pretty and quite simple to use so making the switch is such a tough decision.
  • User profile image
    JWood

    Yes, I'd also like to know why EDMX is no longer supported and database first has essentially been dropped.

    To the users who don't need cross platform support, all these "enhancements" are sometimes hard to swallow when existing features are being taken away.

  • User profile image
    Arthur

    @JWood. EF6 still supports EDMX and database first. This has not changed. EF Core has a different architectural foundation that is not based on a common EDM, and hence does not support EDM files like EDMX. However, database first is still supported in EF Core.

Add Your 2 Cents