/// <summary> /// Deprecated Method for adding a new object to the Order_Details EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrder_Details(Order_Details order_Details) { base.AddObject("Order_Details", order_Details); }
/// <summary> /// Create a new Order_Details object. /// </summary> /// <param name="discount">Initial value of the Discount property.</param> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="unitPrice">Initial value of the UnitPrice property.</param> public static Order_Details CreateOrder_Details(global::System.Single discount, global::System.Int32 orderID, global::System.Int32 productID, global::System.Int16 quantity, global::System.Decimal unitPrice) { Order_Details order_Details = new Order_Details(); order_Details.Discount = discount; order_Details.OrderID = orderID; order_Details.ProductID = productID; order_Details.Quantity = quantity; order_Details.UnitPrice = unitPrice; return order_Details; }