Dynamicweb 8 Documentation
Copy Method (Order)
Example 

Copies this instance and saves it in the DB. This method is similar to Clone method.
Syntax
'Declaration
 
Public Function Copy() As Order
public Order Copy()
Example
class MyPage : System.Web.UI.Page
{
   private Order order;
   private void Initialize()
   {
       order = new Order();
   }

   public Order DoSave()
   {
       Order o = new Order();
       o = order.Copy();
       return o;
   }
}
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

Reference

Order Class
Order Members

Send Feedback