Class SmartSearchDataProvider<T>
- Namespace
- Dynamicweb.Smart
Search
- Assembly
- Dynamicweb.Core.dll
A smart search data provider. Inherit from ConfigurableAddIn class
public abstract class SmartSearchDataProvider<T> : SmartSearchDataProvider, ICloneable where T : class
Type Parameters
T
- Inheritance
-
SmartSearchDataProvider<T>
- Implements
- Derived
- Inherited Members
Constructors
SmartSearchDataProvider()
Methods
ExecuteQuery(int, SmartSearchRuleGroupCollection, params SmartSearchSortInfo[])
Executes the query.
public T? ExecuteQuery(int ResultsLimit, SmartSearchRuleGroupCollection QueryRules, params SmartSearchSortInfo[] SortParams)
Parameters
ResultsLimit
intThe results limit.
QueryRules
SmartSearch Rule Group Collection The query rules.
SortParams
SmartSearch []Sort Info The sort params.
Returns
- T
OnExecuteQuery(int, SmartSearchRuleGroupCollection, SmartSearchSortInfo[])
Called when execute smart search query.
protected virtual T? OnExecuteQuery(int ResultsLimit, SmartSearchRuleGroupCollection QueryRules, SmartSearchSortInfo[] SortParams)
Parameters
ResultsLimit
intThe results limit.
QueryRules
SmartSearch Rule Group Collection The query rules.
SortParams
SmartSearch []Sort Info The sort params.
Returns
- T
OnGetEntityType()
Get entity type