/// <summary> /// Deprecated Method for adding a new object to the InternationalOrders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInternationalOrders(InternationalOrder internationalOrder) { base.AddObject("InternationalOrders", internationalOrder); }
/// <summary> /// Create a new InternationalOrder object. /// </summary> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="customsDescription">Initial value of the CustomsDescription property.</param> /// <param name="exciseTax">Initial value of the ExciseTax property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static InternationalOrder CreateInternationalOrder(global::System.Int32 orderID, global::System.String customsDescription, global::System.Decimal exciseTax, global::System.Int32 rowVersion) { InternationalOrder internationalOrder = new InternationalOrder(); internationalOrder.OrderID = orderID; internationalOrder.CustomsDescription = customsDescription; internationalOrder.ExciseTax = exciseTax; internationalOrder.RowVersion = rowVersion; return internationalOrder; }