Class busTLineItem

The Temporary LineItem class used to hold temporary lineitems. This class behaves only slightly different than the lineitems class - it includes a few extra fields that deal with timeouts of the temporary lineitems.

NOTE: The Entity object of this class is the wws_lineitemsRow object rather than the wws_tLineItemsRow object because of the inheritance structure. The two classes match but miss a couple of fields. Use the GetEntity method of this class to get the full tLineItems entity if required

System.Object
  Westwind.BusinessObjects.wwBusiness
    Westwind.BusinessObjects.wwBusiness<wws_lineitemsRow>
      Westwind.WebStore.busLineItem
        Westwind.WebStore.busTLineItem

public class busTLineItem : busLineItem

Class Members

MemberDescription
Constructor
ClearExpiredLineItems Clears all temporary lineitems prior to this timeout in seconds. This method should be called occasionally to keep the temporary timeout file maintained.
public bool ClearExpiredLineItems( int lnTimeoutSeconds );
GetEntity
public wws_tlineitemsRow GetEntity( bool LoadColumns );

public wws_tlineitemsRow GetEntity();

Save Saves the Line Item. Overridden to save the TimeStamp.
public virtual bool Save();

Requirements

Namespace: Westwind.WebStore
Assembly: westwind.webstore.business.dll


 Last Updated: 3/7/2007 | Send topic feedback