Adds the specified criteria to the query, and associates it with the given key. The result will be contained in a List<(Of <(<'T>)>)>

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

Syntax

C#
IMultiCriteria Add<T>(
	string key,
	ICriteria criteria
)
Visual Basic
Function Add(Of T) ( _
	key As String, _
	criteria As ICriteria _
) As IMultiCriteria
Visual C++
generic<typename T>
IMultiCriteria^ Add(
	String^ key, 
	ICriteria^ criteria
)

Parameters

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

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:NHibernate.IMultiCriteria.Add``1(System.String,NHibernate.ICriteria)"]

Return Value

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

See Also