/// <summary> /// Create a new OrderOffers object. /// </summary> /// <param name="itemGuid">Initial value of the ItemGuid property.</param> /// <param name="orderGuid">Initial value of the OrderGuid property.</param> /// <param name="offerGuid">Initial value of the OfferGuid property.</param> /// <param name="taxClassGuid">Initial value of the TaxClassGuid property.</param> /// <param name="offerPrice">Initial value of the OfferPrice property.</param> /// <param name="addedToCart">Initial value of the AddedToCart property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> public static OrderOffers CreateOrderOffers(global::System.Guid itemGuid, global::System.Guid orderGuid, global::System.Guid offerGuid, global::System.Guid taxClassGuid, global::System.Decimal offerPrice, global::System.DateTime addedToCart, global::System.Int32 quantity) { OrderOffers orderOffers = new OrderOffers(); orderOffers.ItemGuid = itemGuid; orderOffers.OrderGuid = orderGuid; orderOffers.OfferGuid = offerGuid; orderOffers.TaxClassGuid = taxClassGuid; orderOffers.OfferPrice = offerPrice; orderOffers.AddedToCart = addedToCart; orderOffers.Quantity = quantity; return orderOffers; }
/// <summary> /// Deprecated Method for adding a new object to the OrderOffers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderOffers(OrderOffers orderOffers) { base.AddObject("OrderOffers", orderOffers); }