/// <summary>
 /// Create a new CartonBox object.
 /// </summary>
 /// <param name="cartonBoxID">Initial value of the CartonBoxID property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 /// <param name="invoiceGenerated">Initial value of the InvoiceGenerated property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 public static CartonBox CreateCartonBox(global::System.Int64 cartonBoxID, global::System.String number, global::System.Boolean invoiceGenerated, global::System.Int64 orderID)
 {
     CartonBox cartonBox = new CartonBox();
     cartonBox.CartonBoxID = cartonBoxID;
     cartonBox.Number = number;
     cartonBox.InvoiceGenerated = invoiceGenerated;
     cartonBox.OrderID = orderID;
     return cartonBox;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CartonBoxes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCartonBoxes(CartonBox cartonBox)
 {
     base.AddObject("CartonBoxes", cartonBox);
 }