Compares the equality of two expressions.
- Any valid expression. Both expressions must have implicitly convertible data types.
true if the left expression is equal to the right expression; otherwise, false.
The == operator is equivalent to =.
The following Entity SQL query uses = comparison operator to compare the equality of two expressions. 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