/// <summary> /// Create a new CAT_Products object. /// </summary> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="unitCost">Initial value of the UnitCost property.</param> /// <param name="descriptionHTML">Initial value of the DescriptionHTML property.</param> /// <param name="orderQuant">Initial value of the OrderQuant property.</param> /// <param name="featured">Initial value of the Featured property.</param> /// <param name="salePrice">Initial value of the SalePrice property.</param> /// <param name="createdByUser">Initial value of the CreatedByUser property.</param> /// <param name="bulkPriceLimit1">Initial value of the BulkPriceLimit1 property.</param> /// <param name="bulkPriceLimit2">Initial value of the BulkPriceLimit2 property.</param> /// <param name="bulkPriceLimit3">Initial value of the BulkPriceLimit3 property.</param> /// <param name="bulkPriceLimit4">Initial value of the BulkPriceLimit4 property.</param> /// <param name="bulkPriceLimit5">Initial value of the BulkPriceLimit5 property.</param> /// <param name="insuredValue">Initial value of the InsuredValue property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="donationItem">Initial value of the DonationItem property.</param> /// <param name="payPalSubscription">Initial value of the PayPalSubscription property.</param> /// <param name="useRoleFees">Initial value of the UseRoleFees property.</param> /// <param name="productCost">Initial value of the ProductCost property.</param> /// <param name="roleExpiryType">Initial value of the RoleExpiryType property.</param> /// <param name="itemDeliveryType">Initial value of the ItemDeliveryType property.</param> /// <param name="reorderPoint">Initial value of the ReorderPoint property.</param> /// <param name="orderQuantValidExpr">Initial value of the OrderQuantValidExpr property.</param> /// <param name="shippingAddress">Initial value of the ShippingAddress property.</param> /// <param name="auctionFinished">Initial value of the AuctionFinished property.</param> public static CAT_Products CreateCAT_Products(global::System.Int32 productID, global::System.Decimal unitCost, global::System.String descriptionHTML, global::System.String orderQuant, global::System.Boolean featured, global::System.Decimal salePrice, global::System.Int32 createdByUser, global::System.Int32 bulkPriceLimit1, global::System.Int32 bulkPriceLimit2, global::System.Int32 bulkPriceLimit3, global::System.Int32 bulkPriceLimit4, global::System.Int32 bulkPriceLimit5, global::System.Decimal insuredValue, global::System.String status, global::System.Boolean donationItem, global::System.Boolean payPalSubscription, global::System.Boolean useRoleFees, global::System.Decimal productCost, global::System.String roleExpiryType, global::System.String itemDeliveryType, global::System.Int32 reorderPoint, global::System.String orderQuantValidExpr, global::System.String shippingAddress, global::System.Boolean auctionFinished) { CAT_Products cAT_Products = new CAT_Products(); cAT_Products.ProductID = productID; cAT_Products.UnitCost = unitCost; cAT_Products.DescriptionHTML = descriptionHTML; cAT_Products.OrderQuant = orderQuant; cAT_Products.Featured = featured; cAT_Products.SalePrice = salePrice; cAT_Products.CreatedByUser = createdByUser; cAT_Products.BulkPriceLimit1 = bulkPriceLimit1; cAT_Products.BulkPriceLimit2 = bulkPriceLimit2; cAT_Products.BulkPriceLimit3 = bulkPriceLimit3; cAT_Products.BulkPriceLimit4 = bulkPriceLimit4; cAT_Products.BulkPriceLimit5 = bulkPriceLimit5; cAT_Products.InsuredValue = insuredValue; cAT_Products.Status = status; cAT_Products.DonationItem = donationItem; cAT_Products.PayPalSubscription = payPalSubscription; cAT_Products.UseRoleFees = useRoleFees; cAT_Products.ProductCost = productCost; cAT_Products.RoleExpiryType = roleExpiryType; cAT_Products.ItemDeliveryType = itemDeliveryType; cAT_Products.ReorderPoint = reorderPoint; cAT_Products.OrderQuantValidExpr = orderQuantValidExpr; cAT_Products.ShippingAddress = shippingAddress; cAT_Products.AuctionFinished = auctionFinished; return cAT_Products; }
/// <summary> /// Deprecated Method for adding a new object to the CAT_Products EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCAT_Products(CAT_Products cAT_Products) { base.AddObject("CAT_Products", cAT_Products); }