DomainObjects Class Library

Criteria.AddNotEqualTo Method 

Constrains the search to rows in which the field has a value not equal to the given compareToValue.

public Criteria AddNotEqualTo(
   Field field,
   Object compareToValue
);

Parameters

field
A field from the object model. It can be a field in a persistable object, a constant or a function.
compareToValue
The value to compare against.

Return Value

The current Criteria to which an AddNotEqualTo constraint has been added.

See Also

Criteria Class | DomainObjects.Facade.Command Namespace