Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / Product Class / Copy Method / Copy(Boolean) Method
If true, child entities are also copied. If the product have options, kit components or a subscription plan associated the copy of the product will be persisted
In This Topic
    Copy(Boolean) Method
    In This Topic
    Creates a copy of this entity
    Syntax
    public virtual Product Copy( 
       bool deepCopy
    )

    Parameters

    deepCopy
    If true, child entities are also copied. If the product have options, kit components or a subscription plan associated the copy of the product will be persisted

    Return Value

    A copy of this entity
    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