RelationalQueryableExtensions.ExecuteDeleteAsync method not found #24
Unanswered
rofr
asked this question in
IdentityServer
Replies: 2 comments 18 replies
-
I found the method in a different namespace in 9.0.1: Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ExecuteDeleteAsync() |
Beta Was this translation helpful? Give feedback.
0 replies
-
(note: we're moving this issue to our new community discussions) |
Beta Was this translation helpful? Give feedback.
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which version of Duende IdentityServer are you using?
7.1.0
Which version of .NET are you using?
8.0
Describe the bug
Token cleanup fails with an exception, probably due to some incompatible package references.
Exception removing expired grants: Method not found: 'System.Threading.Tasks.Task
1<Int32> Microsoft.EntityFrameworkCore.RelationalQueryableExtensions.ExecuteDeleteAsync(System.Linq.IQueryable
1<!!0>, System.Threading.CancellationToken)'.Seems like the method is no longer present in version 9.0x of the EF Core libraries:
https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.relationalqueryableextensions.executedeleteasync?view=efcore-8.0&viewFallbackFrom=efcore-9.0
Beta Was this translation helpful? Give feedback.
All reactions