Apply a "less than" constraint to two properties

Namespace:  NHibernate.Expression
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function LtProperty ( _
	propertyName As String, _
	otherPropertyName As String _
) As AbstractCriterion
C#
public static AbstractCriterion LtProperty(
	string propertyName,
	string otherPropertyName
)
Visual C++
public:
static AbstractCriterion^ LtProperty(
	String^ propertyName, 
	String^ otherPropertyName
)
JavaScript
NHibernate.Expression.Expression.ltProperty = function(propertyName, otherPropertyName);

Parameters

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

Return Value

A LtPropertyExpression .

See Also