Storage.ORM.ProductsInInvoice.CreateProductsInInvoice C# (CSharp) Method

CreateProductsInInvoice() public static method

Create a new ProductsInInvoice object.
public static CreateProductsInInvoice ( global id, global productID, global invoiceID, global quantity, global price ) : ProductsInInvoice
id global Initial value of the ID property.
productID global Initial value of the ProductID property.
invoiceID global Initial value of the InvoiceID property.
quantity global Initial value of the Quantity property.
price global Initial value of the Price property.
return ProductsInInvoice
        public static ProductsInInvoice CreateProductsInInvoice(global::System.Int32 id, global::System.Int32 productID, global::System.Int32 invoiceID, global::System.Double quantity, global::System.Decimal price)
        {
            ProductsInInvoice productsInInvoice = new ProductsInInvoice();
            productsInInvoice.ID = id;
            productsInInvoice.ProductID = productID;
            productsInInvoice.InvoiceID = invoiceID;
            productsInInvoice.Quantity = quantity;
            productsInInvoice.Price = price;
            return productsInInvoice;
        }