Return the query results as an IList. If the query contains multiple results per row,
the results are returned in an instance of object[].
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function List As IList |
C# |
---|
IList List() |
Visual C++ |
---|
IList^ List() |
JavaScript |
---|
function list(); |
Return Value
The IList filled with the results.
Remarks
This is a good strategy to use if you expect few of the objects being returned are already loaded
or if you want to fill the 2nd level cache.