/// <summary> /// Create a new WishListItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="customerId">Initial value of the CustomerId property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="selectionData">Initial value of the SelectionData property.</param> public static WishListItem CreateWishListItem(global::System.Int64 id, global::System.Int64 storeId, global::System.String customerId, global::System.DateTime lastUpdated, global::System.String productId, global::System.Int32 quantity, global::System.String selectionData) { WishListItem wishListItem = new WishListItem(); wishListItem.Id = id; wishListItem.StoreId = storeId; wishListItem.CustomerId = customerId; wishListItem.LastUpdated = lastUpdated; wishListItem.ProductId = productId; wishListItem.Quantity = quantity; wishListItem.SelectionData = selectionData; return wishListItem; }
/// <summary> /// Deprecated Method for adding a new object to the WishListItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWishListItems(WishListItem wishListItem) { base.AddObject("WishListItems", wishListItem); }