public static CreateOrder_Detail ( global orderID, global productID, global unitPrice, global quantity, global discount ) : |
||
orderID | global | OrderID 属性的初始值。 |
productID | global | ProductID 属性的初始值。 |
unitPrice | global | UnitPrice 属性的初始值。 |
quantity | global | Quantity 属性的初始值。 |
discount | global | Discount 属性的初始值。 |
Результат |
public static Order_Detail CreateOrder_Detail(global::System.Int32 orderID, global::System.Int32 productID, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
{
Order_Detail order_Detail = new Order_Detail();
order_Detail.OrderID = orderID;
order_Detail.ProductID = productID;
order_Detail.UnitPrice = unitPrice;
order_Detail.Quantity = quantity;
order_Detail.Discount = discount;
return order_Detail;
}