Adds the specified criteria to the query, 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,
	ICriteria criteria
)
Visual Basic
Function Add ( _
	key As String, _
	criteria As ICriteria _
) As IMultiCriteria
Visual C++
IMultiCriteria^ Add(
	String^ key, 
	ICriteria^ criteria
)

Parameters

key
Type: System..::..String
The key
criteria
Type: NHibernate..::..ICriteria
The criteria

Return Value

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

See Also