Class OrderDataSource.OrderDataSourceView

Implements operations for the order data source view and inherits the System.Web.UI.DataSourceView class.

Inheritance
System.Object
OrderDataSource.OrderDataSourceView
Namespace: Mediachase.Commerce.Orders.DataSources
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class OrderDataSourceView : DataSourceView

Constructors

OrderDataSourceView(IDataSource, String)

Initializes a new instance of the OrderDataSource.OrderDataSourceView class.

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

The owner.

System.String name

The name.

Fields

CartsViewName

Represents the carts view name.

Declaration
public const string CartsViewName = "Carts"
Field Value
Type Description
System.String

PaymentPlansViewName

Represents the payment plans view name.

Declaration
public const string PaymentPlansViewName = "PaymentPlans"
Field Value
Type Description
System.String

PurchaseOrdersViewName

Represents the purchase orders view name.

Declaration
public const string PurchaseOrdersViewName = "PurchaseOrders"
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

CreatedFrom

Gets or sets the CreatedFrom date.

Declaration
public DateTime? CreatedFrom { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

CreatedTo

Gets or sets the CreateTo date.

Declaration
public DateTime? CreatedTo { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

MarketId

Gets or sets the Market Id.

Declaration
public string MarketId { get; set; }
Property Value
Type Description
System.String

Options

Gets or sets the options.

Declaration
public OrderSearchOptions Options { get; set; }
Property Value
Type Description
OrderSearchOptions

The options.

Parameters

Gets or sets the parameters.

Declaration
public OrderSearchParameters Parameters { get; set; }
Property Value
Type Description
OrderSearchParameters

The parameters.

RMANumber

Gets or sets the RMA number.

Declaration
public string RMANumber { get; set; }
Property Value
Type Description
System.String

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.