/// <summary> /// Create a new FeaturedProduct object. /// </summary> /// <param name="siteId">Initial value of the SiteId property.</param> /// <param name="contId">Initial value of the ContId property.</param> /// <param name="featPro">Initial value of the FeatPro property.</param> public static FeaturedProduct CreateFeaturedProduct(global::System.Int32 siteId, global::System.Int32 contId, global::System.Int32 featPro) { FeaturedProduct featuredProduct = new FeaturedProduct(); featuredProduct.SiteId = siteId; featuredProduct.ContId = contId; featuredProduct.FeatPro = featPro; return featuredProduct; }
/// <summary> /// Deprecated Method for adding a new object to the FeaturedProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFeaturedProducts(FeaturedProduct featuredProduct) { base.AddObject("FeaturedProducts", featuredProduct); }