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
System.Linq.Dynamic.Core.Exceptions.ParseException: 'A value of type 'Int64' cannot be converted to type 'DateTime''
Presumably, because Dynamic LINQ interprets DateTime(...) as a conversion from the long literal value, which isn't found; before searching for the appropriate constructor.
Is this the intended behavior?
I can work around this by passing in DateTimeKind as the second argument to the constructor:
The following:
fails with:
Presumably, because Dynamic LINQ interprets
DateTime(...)
as a conversion from thelong
literal value, which isn't found; before searching for the appropriate constructor.Is this the intended behavior?
I can work around this by passing in
DateTimeKind
as the second argument to the constructor:Is there any other way to force Dynamic LINQ to recognize this as a call to the constructor?
The text was updated successfully, but these errors were encountered: