/// <summary> /// Create a new OfferProduct object. /// </summary> /// <param name="guid">Initial value of the Guid 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="quantity">Initial value of the Quantity property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static OfferProduct CreateOfferProduct(global::System.Guid guid, global::System.Guid offerGuid, global::System.Guid productGuid, global::System.Byte fullfillType, global::System.Guid fullFillTermsGuid, global::System.Int32 quantity, global::System.Int32 sortOrder, global::System.Boolean isDeleted, global::System.DateTime created, global::System.Guid createdBy) { OfferProduct offerProduct = new OfferProduct(); offerProduct.Guid = guid; offerProduct.OfferGuid = offerGuid; offerProduct.ProductGuid = productGuid; offerProduct.FullfillType = fullfillType; offerProduct.FullFillTermsGuid = fullFillTermsGuid; offerProduct.Quantity = quantity; offerProduct.SortOrder = sortOrder; offerProduct.IsDeleted = isDeleted; offerProduct.Created = created; offerProduct.CreatedBy = createdBy; return offerProduct; }
/// <summary> /// Deprecated Method for adding a new object to the OfferProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfferProducts(OfferProduct offerProduct) { base.AddObject("OfferProducts", offerProduct); }