Apply a "less than or equal" constraint to two properties

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

Syntax

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

Parameters

propertyName
Type: System..::..String
The lhs Property Name
otherPropertyName
Type: System..::..String
The rhs Property Name

Return Value

A LePropertyExpression .

See Also