-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsSingleQuery can not be translated by in-memory provider #23759
Comments
This comment has been minimized.
This comment has been minimized.
No, but this provider is used for testing the code that is written for other providers, so at least it should not throw exceptions. |
This was referenced Mar 15, 2021
Bump Microsoft.EntityFrameworkCore.Design from 5.0.1 to 5.0.4 in /backend
mrb-itminds/TODO_WebApp#26
Closed
Closed
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AsSingleQuery does not work with in-memory provider. Interestingly, AsSplitQuery does work.
Here's fiddler:
https://dotnetfiddle.net/9LG89a
Here's the code:
Here's the error with stack trace:
EF Core version: 5.0.1
Database provider: Microsoft.EntityFrameworkCore.InMemory
Target framework: NET 5.0
Operating system: Windows 10 Pro 2004
IDE: Rider 2020.3
The text was updated successfully, but these errors were encountered: