/// <summary> /// Create a new OfferHistory object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="isVisible">Initial value of the IsVisible property.</param> /// <param name="isSpecial">Initial value of the IsSpecial property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdFromIP">Initial value of the CreatedFromIP property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="logTime">Initial value of the LogTime property.</param> public static OfferHistory CreateOfferHistory(global::System.Guid guid, global::System.Boolean isVisible, global::System.Boolean isSpecial, global::System.DateTime created, global::System.Guid createdBy, global::System.String createdFromIP, global::System.Boolean isDeleted, global::System.DateTime logTime) { OfferHistory offerHistory = new OfferHistory(); offerHistory.Guid = guid; offerHistory.IsVisible = isVisible; offerHistory.IsSpecial = isSpecial; offerHistory.Created = created; offerHistory.CreatedBy = createdBy; offerHistory.CreatedFromIP = createdFromIP; offerHistory.IsDeleted = isDeleted; offerHistory.LogTime = logTime; return offerHistory; }
/// <summary> /// Deprecated Method for adding a new object to the OfferHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfferHistories(OfferHistory offerHistory) { base.AddObject("OfferHistories", offerHistory); }