Class CatalogIndexSearchDataSource
Represent catalog search data source to data-bound controls.
Inheritance
Namespace: Mediachase.Commerce.Catalog.DataSources
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CatalogIndexSearchDataSource : DataSourceControl
Constructors
CatalogIndexSearchDataSource()
Declaration
public CatalogIndexSearchDataSource()
Properties
CatalogEntries
Gets or sets the catalog entries.
Declaration
public Entries CatalogEntries { get; set; }
Property Value
| Type | Description |
|---|---|
| Entries | The catalog entries. |
CatalogEntriesDto
Gets or sets the catalog entries.
Declaration
public CatalogEntryDto CatalogEntriesDto { get; set; }
Property Value
| Type | Description |
|---|---|
| CatalogEntryDto | The catalog entries. |
DataMode
Gets or sets the data mode.
Declaration
public CatalogIndexSearchDataSource.CatalogSearchDataMode DataMode { get; set; }
Property Value
| Type | Description |
|---|---|
| CatalogIndexSearchDataSource.CatalogSearchDataMode | The data mode. |
TotalResults
Gets or sets the total results.
Declaration
public int TotalResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The total results. |
Methods
GetView(String)
Gets the named data source view associated with the data source control.
Declaration
protected override DataSourceView GetView(string viewName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | viewName | The name of the view to retrieve. |
Returns
| Type | Description |
|---|---|
| System.Web.UI.DataSourceView | Returns the named System.Web.UI.DataSourceView associated with the System.Web.UI.IDataSource. |
GetViewNames()
Gets a collection of names representing the list of view objects associated with the System.Web.UI.IDataSource interface.
Declaration
protected override ICollection GetViewNames()
Returns
| Type | Description |
|---|---|
| System.Collections.ICollection | An System.Collections.ICollection that contains the names of the views associated with the System.Web.UI.IDataSource. |