Add the specified HQL query to the multi query, and associate 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#
IMultiQuery Add<T>(
	string key,
	IQuery query
)
Visual Basic
Function Add(Of T) ( _
	key As String, _
	query As IQuery _
) As IMultiQuery
Visual C++
generic<typename T>
IMultiQuery^ Add(
	String^ key, 
	IQuery^ query
)

Parameters

key
Type: System..::..String
The key to get results of the specific query.
query
Type: NHibernate..::..IQuery
The query

Type Parameters

T

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

Return Value

The instance for method chain.

See Also