Find synchronous ExecuteUpdate/ExecuteDelete (EF Core 9)

Proprietary

Finds usages of synchronous ExecuteUpdate() and ExecuteDelete() which were removed in EF Core 9. Use ExecuteUpdateAsync/ExecuteDeleteAsync instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindExecuteUpdateSync
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindExecuteUpdateSync

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.