Skip to content

Interface: ISearchContext

The object used by DataQueryBuilder to make OData query

Summary

Properties

Class Properties

Inherited Properties

Currently none inherited from the parent class(es).

Methods

Class Methods

Currently none in this class.

Inherited Methods

Currently none inherited from the parent class(es).

Properties

caseSensitive?

optional caseSensitive?: boolean

A boolean to define whether the search is case-sensitive. Only applicable to Offline OData.


filter?

optional filter?: string

A string to define the filter to be used in the $filter section for the Odata query. It should look like "OrderId eq '4001234'"


numberSearchConversionMethod?

optional numberSearchConversionMethod?: "NoConversion" | "UseCast" | "UseConcat"

A string to determine whether the conversion method that will be used for number search. Only applicable to Online OData.


orderBy?

optional orderBy?: string

A string to define the orderBy section for the Odata query. It should look like "OrderId asc" or "ShortDescription desc"


searchKeys?

optional searchKeys?: string[]

A string list to define which keys will be used for searching. Only those valid keys will be included


service?

optional service?: ITargetServiceSpecifier

An object to define the service and related options


serviceName?

optional serviceName?: string

A string to define the path to the service file


useSearchOverFilterEnabled?

optional useSearchOverFilterEnabled?: boolean