Closed MaceWindu closed 6 years ago
Btw, fix in linq2db reduce number of test failed tests to 136 from 365 (I will retest fix for this issue without linq2db fix applied to be sure it was fixed)
I cannot find it right now, but I suspect this method should allways return unwrapped type (as it is pre-nullable types API)
Yes, so it looks like the reference driver responds with the field's type, rather than the value's type. Kind of makes sense, considering the method is called GetFieldType
, not GetValueType
Fixed!
Query
parameter type is Decimal with value 6579.64648m
Native provider returns decimal type, managed provider returns decimal? type.
It is funny that it was discovered only becase we had bug in our code that didn't allowed us to process Nullable types properly in some cases.
linq2db test:
ConvertTests.ConvertFromOneToAnother.LinqService