← All recipes
Moderne licensed

Find Entity Framework usage

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework48.FindEntityFrameworkArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Finds projects that use Entity Framework (EF6 or EF Core). Detects attested System.Data.Entity.*/Microsoft.EntityFrameworkCore.* usage in C# source, EntityFramework/Microsoft.EntityFrameworkCore.* NuGet packages, and GAC <Reference Include="EntityFramework…"> assembly references used by packages.config projects.

Single recipesearchdotnetframeworkmigrationentity-frameworkProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework48.FindEntityFramework

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet