public static Product CreateProduct(global::System.Int32 id, global::System.String name, global::System.String unit, global::System.Decimal wholesalePrice, global::System.Decimal shallowWholesalePrice, global::System.Decimal retailPrice, global::System.String code, global::System.Int32 userID)
{
Product product = new Product();
product.ID = id;
product.Name = name;
product.Unit = unit;
product.WholesalePrice = wholesalePrice;
product.ShallowWholesalePrice = shallowWholesalePrice;
product.RetailPrice = retailPrice;
product.Code = code;
product.UserID = userID;
return product;
}