DomainObjects Class Library |
|
Criteria.AddInSubquery Method (Field, ScalarQuery)
Constrains the search to rows in which the field has a value that is equal to at least one of the values returned by the given subquery.
Parameters
-
field
- A field from the object model. It can be a field in a persistable object, a constant or a function.
-
subquery
- A subquery that returns the values to compare against. Exactly one select field must have been added to the subquery via a call to AddSelectField. This added select field specifies which values will be returned by the query and thus compared against.
Return Value
The current Criteria to which an AddInSubquery constraint has been added.
See Also
Criteria Class | DomainObjects.Facade.Command Namespace | Criteria.AddInSubquery Overload List