A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class CatalogIndexSearchDataSource.CatalogSearchDataSourceView

Represents the catalog search data source view.

Inheritance
System.Object
CatalogIndexSearchDataSource.CatalogSearchDataSourceView
Namespace: Mediachase.Commerce.Catalog.DataSources
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CatalogSearchDataSourceView : DataSourceView

Constructors

CatalogSearchDataSourceView(IDataSource, String)

Initializes a new instance of the CatalogIndexSearchDataSource.CatalogSearchDataSourceView class.

Declaration
public CatalogSearchDataSourceView(IDataSource owner, string name)
Parameters
Type Name Description
System.Web.UI.IDataSource owner

The owner.

System.String name

The name.

Fields

DefaultViewName

Represents the default catalog search view name

Declaration
public static string DefaultViewName
Field Value
Type Description
System.String

Properties

CanDelete

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the System.Web.UI.DataSourceView.ExecuteDelete(System.Collections.IDictionary,System.Collections.IDictionary) operation.

Declaration
public override bool CanDelete { get; }
Property Value
Type Description
System.Boolean

CanInsert

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the System.Web.UI.DataSourceView.ExecuteInsert(System.Collections.IDictionary) operation.

Declaration
public override bool CanInsert { get; }
Property Value
Type Description
System.Boolean

CanPage

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports paging through the data retrieved by the System.Web.UI.DataSourceView.ExecuteSelect(System.Web.UI.DataSourceSelectArguments) method.

Declaration
public override bool CanPage { get; }
Property Value
Type Description
System.Boolean

CanRetrieveTotalRowCount

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports retrieving the total number of data rows, instead of the data.

Declaration
public override bool CanRetrieveTotalRowCount { get; }
Property Value
Type Description
System.Boolean

CanUpdate

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the System.Web.UI.DataSourceView.ExecuteUpdate(System.Collections.IDictionary,System.Collections.IDictionary,System.Collections.IDictionary) operation.

Declaration
public override bool CanUpdate { get; }
Property Value
Type Description
System.Boolean

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

ExecuteSelect(DataSourceSelectArguments)

Gets a list of data from the underlying data storage.

Declaration
protected override IEnumerable ExecuteSelect(DataSourceSelectArguments arguments)
Parameters
Type Name Description
System.Web.UI.DataSourceSelectArguments arguments

A System.Web.UI.DataSourceSelectArguments that is used to request operations on the data beyond basic data retrieval.

Returns
Type Description
System.Collections.IEnumerable

An System.Collections.IEnumerable list of data from the underlying data storage.