Add an Expression to constrain the results to be retrieved.

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

Syntax

C#
ICriteria Add(
	ICriterion expression
)
Visual Basic
Function Add ( _
	expression As ICriterion _
) As ICriteria
Visual C++
ICriteria^ Add(
	ICriterion^ expression
)

Parameters

expression
Type: NHibernate.Criterion..::..ICriterion

[Missing <param name="expression"/> documentation for "M:NHibernate.ICriteria.Add(NHibernate.Criterion.ICriterion)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.ICriteria.Add(NHibernate.Criterion.ICriterion)"]

See Also