Creates a RavenDB IRavenQueryable instance of the specified collection type
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IRavenQueryable<T> List<T>()
Function List(Of T) As IRavenQueryable(Of T)
generic<typename T>
IRavenQueryable<T>^ List()
abstract List : unit -> IRavenQueryable<'T>
Type Parameters
- T
- Type of object to query
Return Value
Type:
IRavenQueryableTCollection of objects of given type. Deferred execution.
Remarks The actual execution of a query is deferred; therefore, additional queries can apply to the result and be executed on the content-store side.
In order for the query to be executed on content-store side, additional queries cannot use any of the object's methods, only fields and direct properties.
If content store–side execution is not required, you should first convert the result to an array using the "ToArray()" method.
See Also Reference
IUserSession.LuceneQuery``2(String)
IUserSession.LuceneQuery``1(String)