Class CatalogSearchDataSource.CatalogSearchDataSourceView
Represents the catalog search data source view.
Inheritance
Namespace: Mediachase.Commerce.Catalog.DataSources
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CatalogSearchDataSourceView : DataSourceView
Constructors
CatalogSearchDataSourceView(IDataSource, String)
Initializes a new instance of the CatalogSearchDataSource.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 |
DataMode
Gets or sets the data mode.
Declaration
public CatalogSearchDataSource.CatalogSearchDataMode DataMode { get; set; }
Property Value
Type | Description |
---|---|
CatalogSearchDataSource.CatalogSearchDataMode | The data mode. |
Options
Gets or sets the options.
Declaration
public CatalogSearchOptions Options { get; set; }
Property Value
Type | Description |
---|---|
CatalogSearchOptions | The options. |
Parameters
Gets or sets the parameters.
Declaration
public CatalogSearchParameters Parameters { get; set; }
Property Value
Type | Description |
---|---|
CatalogSearchParameters | The parameters. |
ResponseGroup
Gets or sets the response group.
Declaration
public CatalogEntryResponseGroup ResponseGroup { get; set; }
Property Value
Type | Description |
---|---|
CatalogEntryResponseGroup | The response group. |
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. |