Support calls to ToString() in Linq queries

Description

It would be very helpful if we could use either "x.Property.ToString()" or "Convert.ToString(x.Property)" in Linq queries where "Property" is of a type that can be converted to a string in SQL.

For example, I'd like to create the following SQL query with a Linq query:

SELECT *
FROM table
WHERE to_char(id) like '%123%';

Environment

None

Assignee

Patrick Earl

Reporter

cremor

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure