CustomOrderItemInfoProvider

Top  Previous  Next

This class manages the order items. It uses the OrderItemInfo class.

 

object GetOrderItemInfo(int orderItemId) returns the OrderItemInfo object selected by given ID.
void SetOrderItemInfo(object orderItem) updates/inserts the order item with given OrderItemInfo object data. If ItemID is set, updates the existing data, else inserts a new record.
void DeleteAllOrderItems(int orderId) deletes all items for specified order.
void DeleteOrderItemInfo(int orderItemId) deletes the order item with given ID.
DataSet GetOrderItems(string where, string orderby)- returns the DataSet of all the order items filtered by where condition and ordered by orderBy expression, see the database reference for the order item column definition.