Initialize a new instance of the BetweenExpression class for the named Property.

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

Syntax

C#
public BetweenExpression(
	string propertyName,
	Object lo,
	Object hi
)
Visual Basic
Public Sub New ( _
	propertyName As String, _
	lo As Object, _
	hi As Object _
)
Visual C++
public:
BetweenExpression(
	String^ propertyName, 
	Object^ lo, 
	Object^ hi
)

Parameters

propertyName
Type: System..::..String
The name of the Property of the Class.
lo
Type: System..::..Object
The low value for the BetweenExpression.
hi
Type: System..::..Object
The high value for the BetweenExpression.

See Also