Interface: ISearchContext¶
The object used by DataQueryBuilder to make OData query
Summary¶
Properties¶
Class Properties¶
- caseSensitive?
- filter?
- numberSearchConversionMethod?
- orderBy?
- searchKeys?
- service?
- serviceName?
- useSearchOverFilterEnabled?
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?¶
optionalcaseSensitive?:boolean
A boolean to define whether the search is case-sensitive. Only applicable to Offline OData.
filter?¶
optionalfilter?: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?¶
optionalnumberSearchConversionMethod?:"NoConversion"|"UseCast"|"UseConcat"
A string to determine whether the conversion method that will be used for number search. Only applicable to Online OData.
orderBy?¶
optionalorderBy?:string
A string to define the orderBy section for the Odata query. It should look like "OrderId asc" or "ShortDescription desc"
searchKeys?¶
optionalsearchKeys?:string[]
A string list to define which keys will be used for searching. Only those valid keys will be included
service?¶
optionalservice?:ITargetServiceSpecifier
An object to define the service and related options
serviceName?¶
optionalserviceName?:string
A string to define the path to the service file
useSearchOverFilterEnabled?¶
optionaluseSearchOverFilterEnabled?:boolean