-
Notifications
You must be signed in to change notification settings - Fork 57
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
SQLite Invalid cast from 'System.String' to 'System.Guid' #575
Comments
Hello @eliottrobson , Thank you for reporting. We will look at this case to try to support it. Best Regards, Jon |
Hello @eliottrobson , Do you need to output the inserted If not, you can already fix it by using
Here is an example: https://dotnetfiddle.net/gGxIGu Let me know if that solves your issue or if you really need to output this value. Best Regards, Jon |
Hello @eliottrobson, Since our last conversation, we haven't heard from you. Is everything working as expected? Let me know if you need more information. Best regards, |
Apologies for not getting back to you sooner but unfortunately we do need to use the ID as part of the rest of the process. We've managed to work around this by not using BulkMerge in this specific part of the application but would be nice to get it fixed so we can take advantage of the performance at scale! |
Description
When using value objects to wrap primitive types an error is thrown when the SQLite provider returns a string instead of a Guid.
Exception
If you are seeing an exception, include the full exceptions details (message and stack trace).
Fiddle or Project (Optional)
https://dotnetfiddle.net/GS6eay
Further technical details
The text was updated successfully, but these errors were encountered: