Adds the specified detached criteria, and associates it with the given key

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

Syntax

C#
IMultiCriteria Add(
	string key,
	DetachedCriteria detachedCriteria
)
Visual Basic
Function Add ( _
	key As String, _
	detachedCriteria As DetachedCriteria _
) As IMultiCriteria
Visual C++
IMultiCriteria^ Add(
	String^ key, 
	DetachedCriteria^ detachedCriteria
)

Parameters

key
Type: System..::..String
The key
detachedCriteria
Type: NHibernate.Criterion..::..DetachedCriteria
The detached criteria

Return Value

[Missing <returns> documentation for "M:NHibernate.IMultiCriteria.Add(System.String,NHibernate.Criterion.DetachedCriteria)"]

See Also