Apply an "equal" constraint from the projection to the identifier property

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

Syntax

C#
public static AbstractCriterion IdEq(
	IProjection projection
)
Visual Basic
Public Shared Function IdEq ( _
	projection As IProjection _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ IdEq(
	IProjection^ projection
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection
The projection.

Return Value

ICriterion

See Also