WijmoMVC.Models.Order_Details.CreateOrder_Details C# (CSharp) Method

CreateOrder_Details() public static method

Create a new Order_Details object.
public static CreateOrder_Details ( global orderID, global productID, global unitPrice, global quantity, global discount ) : Order_Details
orderID global Initial value of the OrderID property.
productID global Initial value of the ProductID property.
unitPrice global Initial value of the UnitPrice property.
quantity global Initial value of the Quantity property.
discount global Initial value of the Discount property.
return Order_Details
        public static Order_Details CreateOrder_Details(global::System.Int32 orderID, global::System.Int32 productID, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
        {
            Order_Details order_Details = new Order_Details();
            order_Details.OrderID = orderID;
            order_Details.ProductID = productID;
            order_Details.UnitPrice = unitPrice;
            order_Details.Quantity = quantity;
            order_Details.Discount = discount;
            return order_Details;
        }