DomainObjects Class Library

Criteria.AddNotLike Method 

Constrains the search to rows in which the field does not match the pattern specified in the patternToNotMatch.

public Criteria AddNotLike(
   Field field,
   Object patternToNotMatch
);

Parameters

field
A field from the object model. It can be a field in a persistable object, a constant or a function.
patternToNotMatch
The pattern that the field value should not match.

Return Value

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

See Also

Criteria Class | DomainObjects.Facade.Command Namespace