DomainObjects Class Library

Criteria.AddNotBetween Method 

Constrains the search to rows in which the field has a value that is less than the beginValueInRange or greater than the endValueInRange. The field must be of the same data type as both the beginValueInRange and the endValueInRange.

public Criteria AddNotBetween(
   Field field,
   Object beginValueInRange,
   Object endValueInRange
);

Parameters

field
A field from the object model. It can be a field in a persistable object, a constant or a function.
beginValueInRange
The beginning value in the range.
endValueInRange
The ending value in the range.

Return Value

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

See Also

Criteria Class | DomainObjects.Facade.Command Namespace