DomainObjects Class Library

Criteria.AddIn Method (Field, IEnumerable)

Constrains the search to rows in which the field has a value that is equal to at least one of the values in the set of compareToValues.

public Criteria AddIn(
   Field field,
   IEnumerable compareToValues
);

Parameters

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

Return Value

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

See Also

Criteria Class | DomainObjects.Facade.Command Namespace | Criteria.AddIn Overload List