-
Notifications
You must be signed in to change notification settings - Fork 20
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
MySql BIT column mapping #30
Comments
Yes, that sounds wrong. I'll have a look at it. |
Okay, so this gets a bit complicated! Mighty (like Massive before it and also just like Dapper) is really just a nice wrapper around the ADO.NET driver for your database. In the case of What I've also just found/remembered, on double-checking it, is that Workarounds?
|
Optional additional info (partly as notes to self...) It not clear that there is any clean way to 'fix' this behaviour in Mighty - e.g. to make all the plausible types map to And there's an additional problem, about getting hold of the info needed to change this behaviour: you can prompt Mighty to read and cache meta-data for the current table by accessing the read-only property
|
@oliverdarvall - I'm marking this as an 'invalid' issue for the reasons given above - not because I don't think it was a useful report. It was - thank you. I'm open to further discussion if you disagree with my reasoning - feel free to re-open the issue. |
Thanks for the feedback Mike !
I will revert to using the strongly typed options.
Regards
…On Mon, 20 Jul 2020 at 19:22, Mike Beaton ***@***.***> wrote:
@oliverdarvall <https://github.com/oliverdarvall> - I'm marking this as
an 'invalid' issue for the reasons given above - not because I don't think
it was a useful report. It was - thank you.
I'm open to further discussion if you disagree - feel free to re-open the
issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADMOTYSA4FCB5K775JCZUT3R4R4NDANCNFSM4OSV3F5A>
.
|
I have a MySql database (version 5.7.23) with a BIT datatype column.
When retrieving records from the table that BIT column is mapped to a ulong/UInt64 value in the ExpandoObject.
Seems thus there is a datatype mapping problem ...
The text was updated successfully, but these errors were encountered: