/// <summary> /// Deprecated Method for adding a new object to the Reviews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReviews(Reviews reviews) { base.AddObject("Reviews", reviews); }
/// <summary> /// Create a new Reviews object. /// </summary> /// <param name="reviewID">Initial value of the ReviewID property.</param> /// <param name="restaurantID">Initial value of the RestaurantID property.</param> /// <param name="customerID">Initial value of the CustomerID property.</param> public static Reviews CreateReviews(global::System.Int32 reviewID, global::System.Int32 restaurantID, global::System.Int32 customerID) { Reviews reviews = new Reviews(); reviews.ReviewID = reviewID; reviews.RestaurantID = restaurantID; reviews.CustomerID = customerID; return reviews; }