/// <summary>
        /// Create a new TopSelling object.
        /// </summary>
        /// <param name="productId">Initial value of the ProductId property.</param>
        /// <param name="rating">Initial value of the Rating property.</param>
        public static TopSelling CreateTopSelling(global::System.Int32 productId, global::System.Int32 rating)
        {
            TopSelling topSelling = new TopSelling();

            topSelling.ProductId = productId;
            topSelling.Rating    = rating;
            return(topSelling);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the TopSellings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTopSellings(TopSelling topSelling)
 {
     base.AddObject("TopSellings", topSelling);
 }