Apply a "between" constraint to the projection

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

Syntax

C#
public static AbstractCriterion Between(
	IProjection projection,
	Object lo,
	Object hi
)
Visual Basic
Public Shared Function Between ( _
	projection As IProjection, _
	lo As Object, _
	hi As Object _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ Between(
	IProjection^ projection, 
	Object^ lo, 
	Object^ hi
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection
The projection.
lo
Type: System..::..Object
The low value for the Property.
hi
Type: System..::..Object
The high value for the Property.

Return Value

A BetweenExpression.

See Also