/// <summary> /// Deprecated Method for adding a new object to the Comment EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToComment(Comment comment) { base.AddObject("Comment", comment); }
/// <summary> /// Create a new Comment object. /// </summary> /// <param name="commentId">Initial value of the CommentId property.</param> public static Comment CreateComment(global::System.Int32 commentId) { Comment comment = new Comment(); comment.CommentId = commentId; return comment; }