You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Triage: This scenario is a dupe of #242. That feature would probably support this by reading it back as BIT but then allowing you to map it to an int property (rather than doing the conversion inline in the query).
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: