/// <summary> /// Create a new OrderOfferProduct object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="orderGuid">Initial value of the OrderGuid property.</param> /// <param name="offerGuid">Initial value of the OfferGuid property.</param> /// <param name="productGuid">Initial value of the ProductGuid property.</param> /// <param name="fullfillType">Initial value of the FullfillType property.</param> /// <param name="fullfillTermsGuid">Initial value of the FullfillTermsGuid property.</param> /// <param name="created">Initial value of the Created property.</param> public static OrderOfferProduct CreateOrderOfferProduct(global::System.Guid guid, global::System.Guid orderGuid, global::System.Guid offerGuid, global::System.Guid productGuid, global::System.Byte fullfillType, global::System.Guid fullfillTermsGuid, global::System.DateTime created) { OrderOfferProduct orderOfferProduct = new OrderOfferProduct(); orderOfferProduct.Guid = guid; orderOfferProduct.OrderGuid = orderGuid; orderOfferProduct.OfferGuid = offerGuid; orderOfferProduct.ProductGuid = productGuid; orderOfferProduct.FullfillType = fullfillType; orderOfferProduct.FullfillTermsGuid = fullfillTermsGuid; orderOfferProduct.Created = created; return orderOfferProduct; }
/// <summary> /// Deprecated Method for adding a new object to the OrderOfferProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderOfferProducts(OrderOfferProduct orderOfferProduct) { base.AddObject("OrderOfferProducts", orderOfferProduct); }