Initialize a new instance of the OrExpression class for two ICriterions.

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

Syntax

C#
public OrExpression(
	ICriterion lhs,
	ICriterion rhs
)
Visual Basic
Public Sub New ( _
	lhs As ICriterion, _
	rhs As ICriterion _
)
Visual C++
public:
OrExpression(
	ICriterion^ lhs, 
	ICriterion^ rhs
)

Parameters

lhs
Type: NHibernate.Criterion..::..ICriterion
The ICriterion to use as the left hand side.
rhs
Type: NHibernate.Criterion..::..ICriterion
The ICriterion to use as the right hand side.

See Also