Apply an "equal" constraint to the property and rshProjection

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

Syntax

C#
public static AbstractCriterion EqProperty(
	string propertyName,
	IProjection rshProjection
)
Visual Basic
Public Shared Function EqProperty ( _
	propertyName As String, _
	rshProjection As IProjection _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ EqProperty(
	String^ propertyName, 
	IProjection^ rshProjection
)

Parameters

propertyName
Type: System..::..String
Name of the property.
rshProjection
Type: NHibernate.Criterion..::..IProjection
The RSH projection.

Return Value

A EqPropertyExpression .

See Also