Migrating Edmx To Code First

Migrates Entity Framework 6 EDMX-based models (Database-First/Model-First) to EF Core Code-First. Use when upgrading projects containing .edmx files, .Context.tt templates, EntityClient connection strings, or ObjectContext references. Triggers for "migrate EDMX", "convert EDMX to code first", "EF6 to EF Core", "remove EDMX", "database first to code first", and "scaffold DbContext". Also relevant when encountering EntitySQL, EntityObject, or ObjectSet patterns during .NET modernization.

Microsoft Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit ba7b33ed18 Runs: microsoft/migrating-ef6-code-first-to-ef-coremicrosoft/migrating-ef-dbcontext

Frequently asked questions

npx get-skill add microsoft/migrating-edmx-to-code-first