DomainObjects Class Library

FieldValue Equality Operator 

Constrains the search to rows in which the sourceField has a value equal to the compareToField value.

public static Criteria operator ==(
   FieldValue sourceField,
   FieldValue compareToField
);

Parameters

sourceField
A field value from the object model. It can be from a field in a persistable object, a constant or a function.
compareToField
A field value from the object model. It can be from a field in a persistable object, a constant or a function.

Return Value

A Criteria with an AddEqualTo constraint.

See Also

FieldValue Class | DomainObjects.Facade.Command.Expression Namespace | FieldValueEquality Operator Overload List