Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides maintenance and migration of EF6 codebases, covering runtime vs ORM choices, EDMX and legacy data-access review, and EF Core porting.
83% 96%+13 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 19 of 23 without it.
3 of 3 safety checks passed
Audit current EF6 usage before planning any migration. Identify which features the codebase depends on:
// Common EF6-specific patterns to inventory:
// - EDMX designer models (check for *.edmx files)
// - ObjectContext vs DbContext usage
// - Lazy loading with virtual navigation properties
// - Database.SqlQuery<T>() for raw SQL
// - Stored procedure mappings in model
// - Spatial types (DbGeography, DbGeometry)
Decide runtime vs ORM migration separately:
| Path | When to use |
|---|---|
| Keep EF6 on .NET Framework | Legacy app with no runtime pressure |
| EF6 on modern .NET | Runtime upgrade needed, ORM migration too risky |
| EF6 → EF Core | Clean data layer, no EDMX, minimal stored-procedure mapping |
For maintenance work — keep EF6 stable:
DbContext over ObjectContext for new codeAsNoTracking() for read-only queries[ConcurrencyCheck] or IsRowVersion()For migration work — validate each slice:
dotnet ef migrations add succeeds, queries produce equivalent results, lazy loading behavior matches expectationsDo not promise EF Core features to EF6 codebases — EF6 is stable and supported but not on the innovation path. Keep expectations realistic.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.