WijmoMVC.Models.Order_Details_Extended.CreateOrder_Details_Extended C# (CSharp) Method

CreateOrder_Details_Extended() public static method

Create a new Order_Details_Extended object.
public static CreateOrder_Details_Extended ( global orderID, global productID, global productName, global unitPrice, global quantity, global discount ) : Order_Details_Extended
orderID global Initial value of the OrderID property.
productID global Initial value of the ProductID property.
productName global Initial value of the ProductName 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_Extended
        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;
        }