Apply an "in" constraint to the projection

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static AbstractCriterion In(
	IProjection projection,
	ICollection values
)
Visual Basic
Public Shared Function In ( _
	projection As IProjection, _
	values As ICollection _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ In(
	IProjection^ projection, 
	ICollection^ values
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection
The projection.
values
Type: System.Collections..::..ICollection
An ICollection of values.

Return Value

An InExpression.

See Also