Apply an "not equal" constraint to projection and property

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

Syntax

C#
public static AbstractCriterion NotEqProperty(
	IProjection projection,
	string otherPropertyName
)
Visual Basic
Public Shared Function NotEqProperty ( _
	projection As IProjection, _
	otherPropertyName As String _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ NotEqProperty(
	IProjection^ projection, 
	String^ otherPropertyName
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection
The projection.
otherPropertyName
Type: System..::..String
The rhs Property Name

Return Value

A EqPropertyExpression .

See Also