Skip to content

Do System.Linq.Expressions support 'IS DISTINCT FROM' and 'IS NOT DISTINCT FROM' with npgsql/postgres? #102369

Answered by huoyaoyuan
cirrusone asked this question in Q&A
Discussion options

You must be logged in to vote

It is not something for System.Linq.Expressions, but for providers like Npgsql.

Generally, for custom or extended functionalities, the LINQ-to-SQL provider can expose some custom functions. The functions are encoded as calls in compiled expression tree, and the provider recognizes the calls and translates to corresponding SQL.

Like functions listed here, Npgsql can expose functions that maps to those.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@roji
Comment options

Answer selected by cirrusone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants