-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Query: Invalid SQL generated for Guid literals on SQLite #5801
Comments
Note that this works, but only because it is client-evaluated: var entity = context.GuidKeys.FirstOrDefault(
e => e.Id.ToString() == new Guid("{3FDFC4F5-AEAB-4D72-9C96-201E004349FA}").ToString()); |
Related to aspnet/Microsoft.Data.Sqlite#191 |
@natemcmaster Related maybe, but in this case the database was created by EF and the query is fully in the form of Guid objects, not strings. |
That literal is wrong. It should be |
There's another instance of of this on StackOverflow: How to linq filter on multiple GUID at once generating an appropriate sql where clause |
This works on SQL Server, but not on SQLite.
The text was updated successfully, but these errors were encountered: