Initialize a new instance of the PropertyExpression class that compares two mapped properties.

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

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	lhsPropertyName As String, _
	rhsPropertyName As String _
)
C#
protected PropertyExpression(
	string lhsPropertyName,
	string rhsPropertyName
)
Visual C++
protected:
PropertyExpression(
	String^ lhsPropertyName, 
	String^ rhsPropertyName
)
JavaScript
NHibernate.Expression.PropertyExpression = function(lhsPropertyName, rhsPropertyName);

Parameters

lhsPropertyName
Type: System..::.String
The name of the Property to use as the left hand side.
rhsPropertyName
Type: System..::.String
The name of the Property to use as the right hand side.

See Also