/// <summary> /// Create a new FeaturedSection object. /// </summary> /// <param name="featuredSectionId">Initial value of the FeaturedSectionId property.</param> /// <param name="priceLower">Initial value of the PriceLower property.</param> /// <param name="priceUpper">Initial value of the PriceUpper property.</param> public static FeaturedSection CreateFeaturedSection(global::System.Int32 featuredSectionId, global::System.Decimal priceLower, global::System.Decimal priceUpper) { FeaturedSection featuredSection = new FeaturedSection(); featuredSection.FeaturedSectionId = featuredSectionId; featuredSection.PriceLower = priceLower; featuredSection.PriceUpper = priceUpper; return featuredSection; }
/// <summary> /// Deprecated Method for adding a new object to the FeaturedSections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFeaturedSections(FeaturedSection featuredSection) { base.AddObject("FeaturedSections", featuredSection); }