Preserve resolved EF DbSet query dispatch on .NET 10

Proprietary

Wrap an attributed EF DbSet receiver in a fully qualified IQueryable cast for originally resolved Queryable.Skip and EF FirstOrDefaultAsync/ToListAsync extension calls. Avoid .NET 10 AsyncEnumerable overload ambiguity while retaining the original method, arguments, query provider and evaluation order. Leave unresolved/custom/static calls, other operators, conditional snapshots and already-queryable receivers unchanged. Standalone migration leaf.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.PreserveDbSetQueryDispatch
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.PreserveDbSetQueryDispatch

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