! (NOT) (Entity SQL)
Negates a Boolean expression.
Any valid expression that returns a Boolean.
The exclamation point (!) has the same functionality as the NOT operator.
The following Entity SQL query uses the NOT operator to negates a Boolean expression. The query is based on the AdventureWorks Sales Model. To compile and run this query, follow these steps:
Follow the procedure in How to: Execute a Query that Returns StructuralType Results.
Pass the following query as an argument to the ExecuteStructuralTypeQuery method: