/// <summary> /// Deprecated Method for adding a new object to the StoreCartItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoreCartItems(StoreCartItem storeCartItem) { base.AddObject("StoreCartItems", storeCartItem); }
/// <summary> /// Create a new StoreCartItem object. /// </summary> /// <param name="cartItemID">Initial value of the CartItemID property.</param> /// <param name="portalID">Initial value of the PortalID property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="cartID">Initial value of the CartID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="taxRate">Initial value of the TaxRate property.</param> /// <param name="qty">Initial value of the Qty property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="subTotal">Initial value of the SubTotal property.</param> /// <param name="tax">Initial value of the Tax property.</param> /// <param name="total">Initial value of the Total property.</param> public static StoreCartItem CreateStoreCartItem(global::System.Int32 cartItemID, global::System.Int32 portalID, global::System.DateTime createDate, global::System.Int32 cartID, global::System.Int32 productID, global::System.Single taxRate, global::System.Int32 qty, global::System.Decimal price, global::System.Decimal subTotal, global::System.Decimal tax, global::System.Decimal total) { StoreCartItem storeCartItem = new StoreCartItem(); storeCartItem.CartItemID = cartItemID; storeCartItem.PortalID = portalID; storeCartItem.CreateDate = createDate; storeCartItem.CartID = cartID; storeCartItem.ProductID = productID; storeCartItem.TaxRate = taxRate; storeCartItem.Qty = qty; storeCartItem.Price = price; storeCartItem.SubTotal = subTotal; storeCartItem.Tax = tax; storeCartItem.Total = total; return storeCartItem; }