DomainObjects Class Library

Criteria.AddNotIn Method 

Constrains the search to rows in which the field has a value that is not equal to any of the values in the set of compareToValues.

public Criteria AddNotIn(
   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