-
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
Support casting db types #3942
Comments
Triage: This scenario is a dupe of #242. That feature would probably support this by reading it back as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Casting db types not supported first-class. This can only be accomplished with
FromSql
.sys.index_columns.key_ordinal
isBIT
which maps tobyte
.ColumnModel.PrimaryKeyOrdinal
isint
. Materializing throws anInvalidCastException
.Workaround:
CAST (ic.key_ordinal AS INT)
Could overlap with a solution for #3932
The text was updated successfully, but these errors were encountered: