MultiQueryResultReadT Method

Returns a list of results of the given type.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public IList<T> Read<T>()

Type Parameters

T
The result type.

Return Value

IListT
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.

Exceptions

FulltextExceptionOccurs when there is an error during the execution of the query.

See Also