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
{{ message }}
Repository navigation
SqlServerObjectToStringTranslator supports DateTime and DateTimeOffset, while SqlServerConvertTranslator does not #14193
customer-reportedgood first issueThis issue should be relatively straightforward to fix.help wantedThis issue involves technologies where we are not experts. Expert help would be appreciated.
SqlServerObjectToStringTranslator supports DateTime and DateTimeOffset, so dateTime.ToString() translates to a server-executed SqlFunctionExpression CONVERT(VARCHAR(100), dateTime).
SqlServerConvertTranslator does not support DateTime or DateTimeOffset, so Convert.ToString(dateTime) is evaluated locally, returning a string representation that is different from SqlServer's string representation of DateTime returned by the CONVERT function.
Is there a reason for this inconsistency or is this an oversight?
customer-reportedgood first issueThis issue should be relatively straightforward to fix.help wantedThis issue involves technologies where we are not experts. Expert help would be appreciated.
Activity
smitpatel commentedon Dec 17, 2018
Oversight.