UnaryOperator

Overview

The UnaryOperator enumeration denotes the unary operator applied to operand of a UnaryExpression expression. The UnaryOperator enumeration is widely used when Dynamic Where expressions are created in code.

The following table shows how UnaryOperator values are translated into human-readable expressions.

Location

Value Description
Exists The EXISTS operator is used to test for the existence of any record in a subquery.
IsNotNull Compares the value of the operand with NOT NULL
IsNull Compares the value of the operand with NULL
Minus Negates the value of the operand. The operand should be of a numeric type.
None -
Not Logical NOT operation.
Plus Adds the value of the operand.
Unique The UNIQUE operator