Multi Query ResultReadT Method
Returns a list of results of the given type.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
A list of data of the given type. If the type is a built-in type like int, string, etc. only the data from the first column is returned, otherwise an instance is created per row, and a case insensitive, direct mapping between column-name and member-name is assumed.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public IList<T> Read<T>()
VB
Public Function Read(Of T) As IList(Of T)Type Parameters
- T
- The result type.
Return Value
IListTA list of data of the given type. If the type is a built-in type like int, string, etc. only the data from the first column is returned, otherwise an instance is created per row, and a case insensitive, direct mapping between column-name and member-name is assumed.
Exceptions
| FulltextException | Occurs when there is an error during the execution of the query. |