Adds an ICriterion to the list of ICriterions to junction together.

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

Syntax

C#
public Junction Add(
	ICriterion criterion
)
Visual Basic
Public Function Add ( _
	criterion As ICriterion _
) As Junction
Visual C++
public:
Junction^ Add(
	ICriterion^ criterion
)

Parameters

criterion
Type: NHibernate.Criterion..::..ICriterion
The ICriterion to add.

Return Value

This Junction instance.

See Also