Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItem Class / Copy Method / Copy(Int32,Boolean) Method
Id of the order item to create copy of
If true order item inputs associated with the original order item are also copied
In This Topic
    Copy(Int32,Boolean) Method
    In This Topic
    Create a copy of this order item
    Syntax
    public static OrderItem Copy( 
       int orderItemId,
       bool deepCopy
    )

    Parameters

    orderItemId
    Id of the order item to create copy of
    deepCopy
    If true order item inputs associated with the original order item are also copied

    Return Value

    Copy of the order item
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also