Adds the specified IQueryOver 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,
	IQueryOver<T> queryOver
)
Visual Basic
Function Add(Of T) ( _
	key As String, _
	queryOver As IQueryOver(Of T) _
) As IMultiCriteria
Visual C++
generic<typename T>
IMultiCriteria^ Add(
	String^ key, 
	IQueryOver<T>^ queryOver
)

Parameters

key
Type: System..::..String
The key
queryOver
Type: NHibernate..::..IQueryOver<(Of <(<'T>)>)>
The IQueryOver

Type Parameters

T

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

Return Value

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

See Also