= (Equals)

Compares the equality of two expressions.

Syntax

expression=expression
or 
expression==expression

Arguments

expression: Any valid expression. Both expressions must have implicitly convertible data types.

Result Types

true if the left expression is equal to the right expression; otherwise, false.

Remarks

The == operator is equivalent to =.

Example

select p from Products as p where p.UnitPrice == 10
-- Same as
select p from Products as p where p.UnitPrice = 10

Last edited Mar 25, 2013 at 7:55 AM by ansiboy, version 1

Comments

No comments yet.