efcore
efcore copied to clipboard
Fix `Nullable<T>.ToString()`
This PR makes most Nullable<T> types have a string representation that is consistent with C#.
Contributes to #33942.
This does not tackle the issue for bool? (handled in https://github.com/dotnet/efcore/pull/33940)
This relies on the improvements to COALESCE optimization (specifically https://github.com/dotnet/efcore/pull/33938) to avoid regressions.
Rebased to fix merge conflicts and to make commits more readable now that #33938 is merged.
Thanks @ranma42 !