Class SmartSearchDataProvider<T>
- Namespace
- Dynamicweb.SmartSearch
- 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()
protected SmartSearchDataProvider()
Methods
ExecuteQuery(int, SmartSearchRuleGroupCollection, params SmartSearchSortInfo[])
Executes the query.
public T? ExecuteQuery(int ResultsLimit, SmartSearchRuleGroupCollection QueryRules, params SmartSearchSortInfo[] SortParams)
Parameters
ResultsLimitintThe results limit.
QueryRulesSmartSearchRuleGroupCollectionThe query rules.
SortParamsSmartSearchSortInfo[]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
ResultsLimitintThe results limit.
QueryRulesSmartSearchRuleGroupCollectionThe query rules.
SortParamsSmartSearchSortInfo[]The sort params.
Returns
- T
OnGetEntityType()
Get entity type
protected override Type OnGetEntityType()