Return the conjunction 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 And(
	ICriterion lhs,
	ICriterion rhs
)
Visual Basic
Public Shared Function And ( _
	lhs As ICriterion, _
	rhs As ICriterion _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ And(
	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 AndExpression.

See Also