Add the specified HQL Query to the multi query, and associate it with the given key

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

Syntax

C#
IMultiQuery Add(
	string key,
	string hql
)
Visual Basic
Function Add ( _
	key As String, _
	hql As String _
) As IMultiQuery
Visual C++
IMultiQuery^ Add(
	String^ key, 
	String^ hql
)

Parameters

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

Return Value

The instance for method chain.

See Also