コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FeaturedSections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFeaturedSections(FeaturedSection featuredSection)
 {
     base.AddObject("FeaturedSections", featuredSection);
 }