WijmoMVC.Models.Alphabetical_list_of_products.CreateAlphabetical_list_of_products C# (CSharp) Method

CreateAlphabetical_list_of_products() public static method

Create a new Alphabetical_list_of_products object.
public static CreateAlphabetical_list_of_products ( global productID, global productName, global discontinued, global categoryName ) : Alphabetical_list_of_products
productID global Initial value of the ProductID property.
productName global Initial value of the ProductName property.
discontinued global Initial value of the Discontinued property.
categoryName global Initial value of the CategoryName property.
return Alphabetical_list_of_products
        public static Alphabetical_list_of_products CreateAlphabetical_list_of_products(global::System.Int32 productID, global::System.String productName, global::System.Boolean discontinued, global::System.String categoryName)
        {
            Alphabetical_list_of_products alphabetical_list_of_products = new Alphabetical_list_of_products();
            alphabetical_list_of_products.ProductID = productID;
            alphabetical_list_of_products.ProductName = productName;
            alphabetical_list_of_products.Discontinued = discontinued;
            alphabetical_list_of_products.CategoryName = categoryName;
            return alphabetical_list_of_products;
        }