DomainObjects Class Library

Criteria.AddExists Method (Type, Criteria)

Constrains the search to rows where at least one row is returned by the criteria being executed against the given classToFind.

public Criteria AddExists(
   Type classToFind,
   Criteria criteria
);

Parameters

classToFind
Type of the persistable object against which to search.
criteria
The criteria that will constrain the rows.

Return Value

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

See Also

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