Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's been 5 years #3265

Closed
kcabral817 opened this issue May 26, 2021 · 2 comments
Closed

It's been 5 years #3265

kcabral817 opened this issue May 26, 2021 · 2 comments

Comments

@kcabral817
Copy link

It's been 5 years since this page was last updated. Has there been no more advancements during this time to help us migrate a database first EF 6.4 to EF core 5? This is really scary that nothing seems to be done to help use better migrate. How about something like a analysis tool to run against our models indicating the unsupported features or issues? Is the position still that we not migrate from Entity Framework 6 to EF core 5? I have a need to for some of the new functionality like "Time" and restrictive includes and the performance improvements. But I'm still seeing big caution signs when reading dated material.
[Enter feedback here]


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@roji
Copy link
Member

roji commented Jun 1, 2021

Duplicate of #1180

@roji roji marked this as a duplicate of #1180 Jun 1, 2021
@roji
Copy link
Member

roji commented Jun 1, 2021

@kcabral817 ideally, we'd indeed have better migration documentation. #1180 tracks doing this, and also contains and links to some resources which should be helpful. The reason this hasn't happened to this point is lack of team resources and time towards this, because of other, more highly-prioritized work.

How about something like a analysis tool to run against our models indicating the unsupported features or issues?

This is unlikely to happen, since the effort needed in creating such a static analysis tool is huge (think about identifying queries which would need changing), and we generally prefer to invest resources in new features and bug fixes. This has come up in the past, and we generally believe that a good test suite is the ideal way to flush out unsupported features when migrating from EF6 and EF Core (and continues to be useful later as regression tests).

Is the position still that we not migrate from Entity Framework 6 to EF core 5?

Not at all - the lack of a better EF6->EF Code migration guide doesn't in any way imply that people shouldn't migrate. Anyone needing new features or performance improvements - like you've indicated above - should definitely consider migrating to EF Core, since EF6 will no longer receive new features etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants