/// <summary> /// Create a new OfferPriceHistory object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="priceGuid">Initial value of the PriceGuid property.</param> /// <param name="offerGuid">Initial value of the OfferGuid property.</param> /// <param name="currencyGuid">Initial value of the CurrencyGuid property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="logTime">Initial value of the LogTime property.</param> public static OfferPriceHistory CreateOfferPriceHistory(global::System.Guid guid, global::System.Guid priceGuid, global::System.Guid offerGuid, global::System.Guid currencyGuid, global::System.Decimal price, global::System.DateTime created, global::System.Guid createdBy, global::System.Guid lastModifiedBy, global::System.DateTime logTime) { OfferPriceHistory offerPriceHistory = new OfferPriceHistory(); offerPriceHistory.Guid = guid; offerPriceHistory.PriceGuid = priceGuid; offerPriceHistory.OfferGuid = offerGuid; offerPriceHistory.CurrencyGuid = currencyGuid; offerPriceHistory.Price = price; offerPriceHistory.Created = created; offerPriceHistory.CreatedBy = createdBy; offerPriceHistory.LastModifiedBy = lastModifiedBy; offerPriceHistory.LogTime = logTime; return offerPriceHistory; }
/// <summary> /// Deprecated Method for adding a new object to the OfferPriceHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfferPriceHistories(OfferPriceHistory offerPriceHistory) { base.AddObject("OfferPriceHistories", offerPriceHistory); }