Find synchronous ExecuteUpdate/ExecuteDelete (EF Core 9)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindExecuteUpdateSyncArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds usages of synchronous ExecuteUpdate() and ExecuteDelete() which were removed in EF Core 9. Use ExecuteUpdateAsync/ExecuteDeleteAsync instead.
Single recipesearchdotnetefcorenet9Proprietary
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.Net9.FindExecuteUpdateSyncIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet