Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItem Class


In This Topic
    OrderItem Class Methods
    In This Topic

    For a list of all members of this type, see OrderItem members.

    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Create a copy of this order item  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Generates the gift certificates associated with this order item.  
    Public MethodOverloaded.  Generates the subscriptions associated with this order item.  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Get the invoice price for order item  
    Public Method Gets the parent item for this order item.  
    Public Method Gets the path for this basket item  
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Finds out whether subscriptions for this order item are generated per quantity or per order item  
    Top
    Protected Methods
     NameDescription
    Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Protected Method

    When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

    Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

    Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

    (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Delete the entity from the database
    Public Extension Method Save the entity to the database
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also