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: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
IMultiQuery Add<T>( string key, string hql )  | 
| Visual Basic | 
|---|
Function Add(Of T) ( _ key As String, _ hql As String _ ) As IMultiQuery  | 
| Visual C++ | 
|---|
generic<typename T> 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 
Type Parameters
- T
 [Missing <typeparam name="T"/> documentation for "M:NHibernate.IMultiQuery.Add``1(System.String,System.String)"]