Exemplo n.º 1
0
 /// <summary>
 /// Create a new Order_Details_Extended object.
 /// </summary>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="discount">Initial value of the Discount property.</param>
 public static Order_Details_Extended CreateOrder_Details_Extended(global::System.Int32 orderID, global::System.Int32 productID, global::System.String productName, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
 {
     Order_Details_Extended order_Details_Extended = new Order_Details_Extended();
     order_Details_Extended.OrderID = orderID;
     order_Details_Extended.ProductID = productID;
     order_Details_Extended.ProductName = productName;
     order_Details_Extended.UnitPrice = unitPrice;
     order_Details_Extended.Quantity = quantity;
     order_Details_Extended.Discount = discount;
     return order_Details_Extended;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Order_Details_Extendeds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrder_Details_Extendeds(Order_Details_Extended order_Details_Extended)
 {
     base.AddObject("Order_Details_Extendeds", order_Details_Extended);
 }