/// <summary> /// Deprecated Method for adding a new object to the Offers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOffers(Offer offer) { base.AddObject("Offers", offer); }
/// <summary> /// Create a new Offer 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> public static Offer CreateOffer(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) { Offer offer = new Offer(); offer.Guid = guid; offer.IsVisible = isVisible; offer.IsSpecial = isSpecial; offer.Created = created; offer.CreatedBy = createdBy; offer.CreatedFromIP = createdFromIP; offer.IsDeleted = isDeleted; return offer; }