Class CatalogItemsDataSource.CatalogNodesDataSourceView
Represents the catalog nodes data source view.
Inheritance
Namespace: Mediachase.Commerce.Catalog.DataSources
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CatalogNodesDataSourceView : DataSourceView
Constructors
CatalogNodesDataSourceView(IDataSource, String)
Initializes a new instance of the CatalogItemsDataSource.CatalogNodesDataSourceView class.
Declaration
public CatalogNodesDataSourceView(IDataSource owner, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.IDataSource | owner | The owner. |
System.String | name | The name. |
Fields
CatalogNodesTreeViewName
Represents the view where first row is [...] allowing to navigate to parent folder
Declaration
public static string CatalogNodesTreeViewName
Field Value
Type | Description |
---|---|
System.String |
DefaultViewName
Represents the default catalog node 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 |
Parameters
Gets or sets the _Parameters.
Declaration
public ItemSearchParameters Parameters { get; set; }
Property Value
Type | Description |
---|---|
ItemSearchParameters | The Parameters. |
ResponseGroup
Gets or sets the response group.
Declaration
public CatalogNodeResponseGroup ResponseGroup { get; set; }
Property Value
Type | Description |
---|---|
CatalogNodeResponseGroup | 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 |
Returns
Type | Description |
---|---|
System.Collections.IEnumerable |