DomainObjects Class Library

Criteria.AddLike Method 

Constrains the search to rows in which the field matches the pattern specified in the patternToMatch.

public Criteria AddLike(
   Field field,
   Object patternToMatch
);

Parameters

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

Return Value

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

See Also

Criteria Class | DomainObjects.Facade.Command Namespace