/// <summary> /// Create a new Review object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="summary">Initial value of the Summary property.</param> /// <param name="genreId">Initial value of the GenreId property.</param> /// <param name="authorized">Initial value of the Authorized property.</param> /// <param name="createDateTime">Initial value of the CreateDateTime property.</param> /// <param name="updateDateTime">Initial value of the UpdateDateTime property.</param> public static Review CreateReview(global::System.Int32 id, global::System.String title, global::System.String summary, global::System.Int32 genreId, global::System.Boolean authorized, global::System.DateTime createDateTime, global::System.DateTime updateDateTime) { Review review = new Review(); review.Id = id; review.Title = title; review.Summary = summary; review.GenreId = genreId; review.Authorized = authorized; review.CreateDateTime = createDateTime; review.UpdateDateTime = updateDateTime; return review; }
/// <summary> /// Deprecated Method for adding a new object to the Review EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReview(Review review) { base.AddObject("Review", review); }