DomainObjects Class Library

Criteria.AddLessThan Method 

Constrains the search to rows in which the field has a value less than the compareToValue.

public Criteria AddLessThan(
   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 AddLessThan constraint has been added.

See Also

Criteria Class | DomainObjects.Facade.Command Namespace