IssueRaiser

Support (custom) member/method translations on value-converted types

Consider cases like #10427 which involves SQL translations for DateTime calculations. If the property has been mapped to some non-datetime type, then this kind of translation will not work anymore. Instead, query should either: * Do a different translation * Revert to client evaluation Probably client eval is what we can realistically do in the short term, but in the future it would be good to have the type mapping/value conversion participate in generating the translations.

Posted by ajcvickers on Nov 29, 2017, 9:58 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

support (Other)

Support (custom) member/method translations on value-converted types

ajcvickersNov 29, 2017, 9:58 PM

Consider cases like #10427 which involves SQL translations for DateTime calculations. If the property has been mapped to some non-datetime type, then this kind of translation will not work anymore. Instead, query should either: * Do a different translation * Revert to client evaluation Probably client eval is what we can realistically do in the short term, but in the future it would be good to have the type mapping/value conversion participate in generating the translations.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue