Initializes a new instance of the EqPropertyExpression class that compares two mapped properties using an "equal" constraint.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	lhsPropertyName As String, _
	rhsPropertyName As String _
)
C#
public EqPropertyExpression(
	string lhsPropertyName,
	string rhsPropertyName
)
Visual C++
public:
EqPropertyExpression(
	String^ lhsPropertyName, 
	String^ rhsPropertyName
)
JavaScript
NHibernate.Expression.EqPropertyExpression = 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