Esempio n. 1
0
        /// <summary>
        /// Create a new ProductFeedback object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="productDescription">Initial value of the ProductDescription property.</param>
        /// <param name="satisfaction">Initial value of the Satisfaction property.</param>
        public static ProductFeedback CreateProductFeedback(global::System.Int32 id, global::System.String productDescription, global::System.Int32 satisfaction)
        {
            ProductFeedback productFeedback = new ProductFeedback();

            productFeedback.Id = id;
            productFeedback.ProductDescription = productDescription;
            productFeedback.Satisfaction       = satisfaction;
            return(productFeedback);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductFeedbacks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductFeedbacks(ProductFeedback productFeedback)
 {
     base.AddObject("ProductFeedbacks", productFeedback);
 }