Return the disjuction of two expressions

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

Syntax

C#
public static AbstractCriterion Or(
	ICriterion lhs,
	ICriterion rhs
)
Visual Basic
Public Shared Function Or ( _
	lhs As ICriterion, _
	rhs As ICriterion _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ Or(
	ICriterion^ lhs, 
	ICriterion^ rhs
)

Parameters

lhs
Type: NHibernate.Criterion..::..ICriterion
The Expression to use as the Left Hand Side.
rhs
Type: NHibernate.Criterion..::..ICriterion
The Expression to use as the Right Hand Side.

Return Value

An OrExpression.

See Also